Index of /aim_bots

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

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