POE::Component::IRC::Plugin::MultiProxy::Away - A PoCo-IRC plugin which changes the away status based on the presence of proxy clients
use POE::Compoent::IRC::Plugin::MultiProxy::Away; $irc->plugin_add('Away', POE::Compoent::IRC::Plugin::MultiProxy::Away->new(Message => "I'm out to lunch"));
POE::Compoent::IRC::Plugin::MultiProxy::Away is a POE::Component::IRC plugin. When the last proxy clien detaches, it changes the status to away, with the supplied away message.
This plugin requires the IRC component to be POE::Component::IRC::State or a subclass thereof.
new
One optional argument:
'Message', the away message you want to use. Defaults to 'No clients attached'.
Returns a plugin object suitable for feeding to POE::Component::IRC's plugin_add() method.
plugin_add()
message
An away message
Changes the away message when called with an argument, returns the current away message otherwise.
Hinrik Örn Sigurðsson, hinrik.sig@gmail.com
To install POE::Component::IRC::Plugin::MultiProxy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::IRC::Plugin::MultiProxy
CPAN shell
perl -MCPAN -e shell install POE::Component::IRC::Plugin::MultiProxy
For more information on module installation, please visit the detailed CPAN module installation guide.