At line 139, it gets buggy.
Since you didn't show us which line is line 139, I was too lazy to count to line 139. And I'm at a school computer so I won't be pasting it into a new remote sheet.
Instead of sending it to a channel, it gets sent to my main server window.
Well, sending it to the status window would be /echo -s. If this is popups for channel, then use /echo -a.