Take a lok at: http://www.cs.uit.no/~andrer/rfc1459.py RFC 1459 is the document that describes the IRC communication protocol (which, btw, not all irc servers comply to :-( ). I've used rfc1459.py to implement a few irc robots. -André Risnes (RFC available @ http://www.ietf.org/rfc/rfc1459.txt?number=1459)