I’m in search of some code for creating a chat bot for AIM, MSN, and possibly Yahoo IM and Google Talk. I found some Perl code that might work, but it looks pretty nasty (well, considering it’s Perl I guess it looks pretty good actually). Anyhow, these bots only need to do one simple thing – take an IM from a user, relay it to email, and let the user know that their message has been processed. Any thoughts? I’d prefer something that will run from a Linux CLI – but I’m open to other options I suppose.