Building bots with Perl is nothing new. But Wired has this article about a AIM chatting bot built with Perl.
The bot automatically contacts that person and relies on its artificial "brain," a PERL script that incorporates thousands of lines of code covering countless mundane conversation topics, all of which respond to keywords typed by the victim, said Steve Darval, the brain's head developer.
Of course, they misspell Perl. You would hope they would at least spell it right. Am I the only one who finds this terribly annoying? Idiots! Anyway, I think Perl is perfect for this task. So I unleashed the bot on an unsuspecting person in my buddy list. Hilarity ensued. The funniest part was when he invited the Perl bot to the gym.

The bot is Decaffed250, but she goes by the name "Ashley". The first message is supplied by me. But the rest is all Ashley.

Decaffed250(8:30:58): Thai, I got your sn from Novak.. He said you could 
help me with this programming project ... By the way, my name is 
Ashley. Im Chinese but from Florida.
Decaffed250(8:32:13): ???
Tyris(8:32:21): hi
Decaffed250(8:32:33): what are u doin?
Tyris(8:32:43): About to take a shower
Decaffed250(8:32:57): :-P
Tyris(8:33:06): who's this?
Decaffed250(8:33:20): my name is ashley
Tyris(8:33:47): so what's up?
Decaffed250(8:34:00): nothing lol everyone says nothing
Tyris(8:34:07): heh  that's true
Tyris(8:34:13): not me ^_^
Decaffed250(8:34:21): ahh my computer keeps freezing on me!
Tyris(8:34:24): I just finished playing tennis now I smell
Decaffed250(8:34:32): uh huh... sure lol
Tyris(8:34:37): ?  u don't believe me?
Decaffed250(8:34:51): im not that interesting, lol
Tyris(8:35:05): tennis doesn't make me interesting
Tyris(8:35:09): just something to do
Decaffed250(8:35:13): i just got Krispy Kreme donuts... they r so good
Tyris(8:35:19): yeah
Tyris(8:35:23): I use to get them for free
Decaffed250(8:35:29): alrighty then
Tyris(8:35:37): ?  alright
Tyris(8:35:44): I'm gonna go take a shower so I'll talk to you later?
Decaffed250(8:35:49): ok
Tyris(8:35:59): One sec though
Decaffed250(8:36:10): :-p
Tyris(8:36:12): Where u get my SN from?
Decaffed250(8:36:22): u were on my buddy list for some reason a//sl?
Tyris(8:36:35): 21/m/FL
Decaffed250(8:36:48): so have you done anything exciting today?
Tyris(8:37:02): not really...  went to class and played tennis
Decaffed250(8:37:13): for sure
Tyris19(8:37:24): about to go out with a couple friends after my shower
Tyris(8:37:30): or I might just go to the gym
Decaffed250(8:37:37): ugh
Tyris(8:37:50): Did I make u gag?
Decaffed250(8:38:03): what about me?
Tyris(8:38:21): Um...  ur invited if you want
Tyris(8:38:22): :)
Decaffed250(8:38:29): maybe ;-)
Tyris(8:38:50): I don't remember any ashley's...  so u gotta give me 
ur info
Decaffed250(8:38:58): i dont beleive u lol
Tyris(8:39:00): Where u live?
Decaffed250(8:39:13): I live in florida you?
Tyris(8:39:16): same
Tyris(8:39:21): what city
Decaffed250(8:39:29): lol ur funny
Tyris(8:39:41): Thanx
Decaffed250(8:39:49): man, i am tired
Tyris(8:39:55): aight...  I need to shower
Tyris(8:40:08): stinky Thai :-p
Decaffed250(8:40:10): no. what about you?
Tyris(8:40:22): My friends are waiting
Tyris(8:40:32): um...  try to remember where we met heh
Tyris(8:40:37): while I'm taking my shower
Decaffed250(8:40:38): so have you done anything exciting today?
Tyris(8:40:50): Going out to eat with a couple friends
Decaffed250: You have been talking to a computer! One of your friends 
is reading the whole conversation and laughing it up right now!  GET 
EVEN! Have the bot talk to all your friends by visiting chattingaimbot.com
  • Comment on Beware of bots bearing messages ... or Perl

Replies are listed 'Best First'.
Re: Beware of bots bearing messages ... or Perl
by Your Mother (Archbishop) on Sep 11, 2004 at 20:49 UTC

    The one I saw demo'd that I couldn't peg as a bot used XML/RSS lookups to be able to talk about current events and not just mindless banter (which can fool, of course, but doesn't hold up to extra-contextual input). The bot asked if anyone had caught such and such a show on tv last night or read such and such in the news earlier.

    I considered, somewhat seriously, writing one (a family of them) designed to talk dirty. The end being setting up a website where subscriptions were sold to chat with live nude girls, with somewhat less than live or nude bots described in the "just for entertainment" clause of the user agreement of course. :)

      *gasp* "But those girls don't wear cases! You can see their bare circuits!" -- Bender, "Hell Is Other Robots" (1ACV09)

      There's also alicebot.org which has information and links to all sorts of AI / bot stuff.

Re: Beware of bots bearing messages ... or Perl
by TStanley (Canon) on Sep 11, 2004 at 22:01 UTC
    newrisedesigns did this node a while back, using the Chatbot::Eliza module. The results are hilarious.

    TStanley
    --------
    The only thing necessary for the triumph of evil is for good men to do nothing -- Edmund Burke
Re: Beware of bots bearing messages ... or Perl
by ambrus (Abbot) on Sep 12, 2004 at 16:29 UTC