Bot::BasicBot
A simple irc bot baseclass for perl.
Bot::BasicBot->new( channels => ["#bottest"] )->run();
# with all known options
Bot::BasicBot->new( channels => ["#bottest"],
server => "irc.example.com",
port => "6667",
nick => "basicbot",
alt_nicks => "simplebot",
username => "bot",
name => "Yet Another Bot",
ignore_list => [qw( dadadodo laotse dipsy)],
)->run();
Bot::BasicBot is a system designed to make it easy to do simple bots, optionally forking longer processes (like searches) concurrently in the background. There are several examples of bots using Bot::BasicBot in the examples/ folder in the Bot::BasicBot tarball. If you want to do more interesting things, I strongly recommend you look at Bot::BasicBot::Pluggable, a much more powerful subclass of Bot::BasicBot.
Bot::BasicBot can be found on the CPAN as Bot-BasicBot.
The initial version of Bot::BasicBot was written by Mark Fowler, and many thanks are due to him.