I'm working on making a AOL Instant Messenger bot in PHP using TOC. I can get it to log in and everything, but it never shows up as being online and I can't send any messages. If anyone can help me with this I would really appreciate it. I'll post the code below in a comment. I can give out more points if this is difficult to fix.