IRC::Bot::HelpIRC::Bot::Help is a module to dispatch help for IRC::Bot. | |
Download |
IRC::Bot::Help Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Benjamin Smith
- Publisher web site:
- http://search.cpan.org/~bwsmith/IRC-Bot-0.07/Bot/Help.pm
IRC::Bot::Help Tags
IRC::Bot::Help Description
IRC::Bot::Help is a module to dispatch help for IRC::Bot. IRC::Bot::Help is a module to dispatch help for IRC::Bot.SYNOPSIS use IRC::Bot::Help; my $seen = IRC::Bot::Help->new(); # later on... # User asks for help in DCC CHAT sub on_dcc_chat { my ( $kernel, $id, $who, $msg ) = @_; my $nick = ( split /!/, $who ); # Do Stuff... if ( $msg =~ m/^.help/i ) { my $topic = $help->ask_help('all'); $kernel->post( NICK, 'dcc_chat', $id, $topic ); } }Basically holds a list of help topics and dispatches them on demand. Requirements: · Perl
IRC::Bot::Help Related Software