the mg2bot 0.71 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News the mg2bot 0.71 (Default branch)
# 1  
Old 08-19-2008
the mg2bot 0.71 (Default branch)

the mg2bot is an IRC bot that was originally written to do unique channel maintenance but which now sports a homebrew plugin system, increased channel awareness, and a bot networking capability.License: Perl LicenseChanges:
This release fixes a scheduled event bug that caused the bot to freeze up in certain situations. It adds a wowitem plugin for looking up World of Warcraft items on wowhead. It adds random_quote, areacode, and emeter general bot plugins. It has a major overhaul of the calc plugin, which allows for the use of math functions like abs(), sqrt(), etc.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
POE::Component::IRC::Plugin::BotTraffic(3pm)		User Contributed Perl Documentation	      POE::Component::IRC::Plugin::BotTraffic(3pm)

NAME
POE::Component::IRC::Plugin::BotTraffic - A PoCo-IRC plugin that generates events when you send messages SYNOPSIS
use POE::Component::IRC::Plugin::BotTraffic; $irc->plugin_add( 'BotTraffic', POE::Component::IRC::Plugin::BotTraffic->new() ); sub irc_bot_public { my ($kernel, $heap) = @_[KERNEL, HEAP]; my $channel = $_[ARG0]->[0]; my $what = $_[ARG1]; print "I said '$what' on channel $channel "; return; } DESCRIPTION
POE::Component::IRC::Plugin::BotTraffic is a POE::Component::IRC plugin. It watches for when your bot sends PRIVMSGs and NOTICEs to the server and generates the appropriate events. These events are useful for logging what your bot says. METHODS
"new" No arguments required. Returns a plugin object suitable for feeding to POE::Component::IRC's "plugin_add" method. OUTPUT EVENTS
These are the events generated by the plugin. Both events have "ARG0" set to an arrayref of recipients and "ARG1" the text that was sent. "irc_bot_public" "ARG0" will be an arrayref of recipients. "ARG1" will be the text sent. "irc_bot_msg" "ARG0" will be an arrayref of recipients. "ARG1" will be the text sent. "irc_bot_action" "ARG0" will be an arrayref of recipients. "ARG1" will be the text sent. "irc_bot_notice" "ARG0" will be an arrayref of recipients. "ARG1" will be the text sent. AUTHOR
Chris 'BinGOs' Williams [chris@bingosnet.co.uk] SEE ALSO
POE::Component::IRC perl v5.14.2 2011-12-07 POE::Component::IRC::Plugin::BotTraffic(3pm)