A bot for irc has been written in Zope, meaning someone has taken the time to write the modules to connect to irc. A good starting point might be there. http://www.zope.org/Members/TheJester/IrcBot -- Andy McKay