Nov
30
Filed Under (Geekspeak) by Justin on 2005-11-30

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.

(1) Comment    Read More   

Comments

Brandon Jaynes on 1 December, 2005 at 9:11 am #

I did something like this a long time ago, but I can’t find the script right now. Basically, I used BASH and listened on a certain port. When that port had activity, I stored the entire message (which contained a lot of junk necessary for msn, etc., but was otherwise clear text), then awk’d the message out, re-stored it, and appeneded the message to a file. Then I sent one text to me with the name of the user and as much of the first message that could fit.

gmta? perl sucks.


Post a Comment
Name:
Email:
Website:
Comments: