Thanks for all of your help, I got it to work I just have one last question. When you connect to an IRC server you have to respond to a ping request to be accepted. In order to respond to the request you have to answer this:
Code:
-irc.infinitechat.com- *** If you are having problems connecting due to ping timeouts, please type /raw pong 3b22356b or /quote pong 3b22356b now.
with either or
Code:
/quote pong 3b22356b
the "3b22356b" is a random variable. The things I need to know how to do is read that request when its sent for one, second I need to know how to respond with that variable. Thanks