Eliza, AppleScript, AIM, and Perl

pudge on 2000-09-01T12:00:11

KM was the first to write "I just saw an article here on CNN.com about how a guy used AppleScript and the Perl version of Eliza to interact with AIM users. Some logs of conversations are here."

I saw this and I was curious as to how to best do it with MacPerl and Apple events (which are something I spend significant time on), so I went ahead and wrote my own version that is all MacPerl (except for a three-line handler written in AppleScript to redirect the event to MacPerl), using Mac::AppleEvents::Simple, Mac::Glue, and, of course, Chatbot::Eliza. The source is available, for kicks. The author said he'd put his up soon.


jaimbot.pl

yruss on 2000-09-03T20:28:28

A couple of months ago I was playing with the Jaim client, available here , and I set Eliza to start a conversation with anyone on my buddylist. Going into away mode set Eliza in motion and when anyone on the buddylist came online, the client automatically sent a greeting which when returned was answered by the "doctor". Although I can't say Jaim was the most user friendly client, it had everything necessary for the expiriment.