Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

poe::component::irc::cookbook(3pm) [debian man page]

POE::Component::IRC::Cookbook(3pm)			User Contributed Perl Documentation			POE::Component::IRC::Cookbook(3pm)

NAME
POE::Component::IRC::Cookbook - The PoCo-IRC Cookbook: Overview DESCRIPTION
POE::Component::IRC is a fully event-driven IRC client module built around POE. It can be used to write IRC client applications of any kind. This cookbook features working examples of programs demonstrating the capabilities of POE::Component::IRC. Note: This is a work in progress. The entries without hyperlinks indicate unwritten recipes. RECIPES
General Disconnecting Shows you how to disconnect gracefully. Bots A basic bot A basic bot demonstrating the basics of PoCo-IRC. Translator Add translating capabilities to your bot. Resolver Have your bot resolve DNS records for you. MegaHAL Allow your bot to talk, using artificial "intelligence". Seen Implement the "seen" feature found in many bots, which tells you when your bot last saw a particular user, and what they were doing/saying. Reload Structure your code in such a way that your bot can be reprogrammed at runtime without reconnecting to the IRC server. Feeds Use your bot as an RSS/Atom feed aggregator. Reminder Have your bot remind you about something at a later time. Messenger Have your bot deliver messages to users as soon as they become active. Eval Have your bot evaluate mathematical expressions and code. Clients Gtk2 A simple IRC client with a Gtk2 interface. ReadLine A simple IRC client with a ReadLine interface. AUTHOR
Hinrik Oern Sigur`sson, hinrik.sig@gmail.com perl v5.14.2 2011-12-07 POE::Component::IRC::Cookbook(3pm)

Check Out this Related Man Page

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)
Man Page