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.