Index of /aim_bots

      Name                    Last modified      Size  Description
Parent Directory - CHANGELOG 17-Dec-2002 12:04 1.8K Net/ 13-Sep-2005 23:42 - aim2irc.pl 14-Sep-2005 00:55 21K aim2irc.txt 14-Sep-2005 00:46 21K aim2ircrc.sample 17-Dec-2002 11:46 850 aim2mud.pl 14-Sep-2005 00:55 2.4K aim2mud.txt 27-Aug-2003 15:25 2.4K aim_bots.tgz 14-Sep-2005 00:15 19K

AIM Bots

Both of these bots were written using a modified version of the CPAN package Net::AIM. The .pl files in this directory are the bots themselves. I've tested this on perl 5.6.something on MacOSX, but it should work on pretty much any perl. rename the files from .txt to .pl, and chmod +x... aim2irc.pl does NOT need the modified Net::AIM package, so use the one from CPAN. aim2mud.pl does still need it.

The modifications to Net::AIM were to add capability to have the do_one_loop() monitor socket and handles other than the AIM connection. This allows the AIM object to monitor the open telnet sessions. Code for this was based on the similar functions in Net::IRC.

The Net::IRC package is required for aim2irc.pl, and uses the irc event loop to monitor the AIM connection. This required a method for retrieving the IO handle from a Net::AIM::Connection object.

aim2irc.pl is fairly well-featured but it has some limitations. Currently you can be on only one IRC server at a time. You can join multiple channels, but its not handled well at the moment. "/msg #chan message" should work. Please tell me a better way to handle that!


See what I'm doing with my Sidekick: PhotoBlog