Hmm.. Using Starcraft's built in print function is a tad more complicated then it looks, not to mention it would not be cross platform.
I got my idea to work:
Basicly, you hit F8 to toggle on and off.
When on, a small box appears with a list of channels on the left, and the chat on the right. When you click on a channel on the left (or type one in) the bot joins that channel and begins to add the text to that window.
If you don't have F keys, its command/control + 8.
It works great.. I use it. Should be in the first beta release of my bot:
http://luxer.cjb.net