Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

awwaiid's scratchpad

by awwaiid (Friar)
on Jun 03, 2004 at 19:24 UTC ( #360384=scratchpad: print w/replies, xml ) Need Help??

A one-line AIM bot! Please use your own AIM account! perl -e 'use Net::AIM; $aim = new Net::AIM; my $conn = $aim->newconn(Screenname=>"YOURAIMSNHERE",Password=>"YOURAIMPASSWDHERE");my $conn2 = $aim->getconn();$conn2->set_handler("im_in",\&on_im);$aim->start;sub on_im{my ($self, $event, $from, $to) = @_;my $args = $event->args;my ($nick, $auto_msg, $msg) = @$args;$self->send_im($nick, "Hi $nick. You said $msg .");}'
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[tye]: Corion, I used to have my "last here" updated when I chatted. I still visit regularly but I rarely chat. So I modified my cookie today.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-04-28 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (524 votes). Check out past polls.