POE::Component::IRC::Plugin::BotTraffic man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

POE::Component::IRC::PUsernContributPOE::Component::IRC::Plugin::BotTraffic(3)

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\n";
	    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
       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.1			  20POE::Component::IRC::Plugin::BotTraffic(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net