OUTTEXT requires that you assign OUTTEXT to OutGoingText, or you can not type anything. You have done this, but at the beginning of the function, it needs to be at the end.2nd, you only assigned the value inside the IF < > area, which means if you were not in that channel, you cant type/send anything as well, and you also forgot the "end if" as well.

Also, you should not continuely assign the OUTTEXT value, that will slow it down a great deal.This should work a lot better for you: