NAME
POE::Component::Server::IRC::Plugin::OperServ - An OperServ plugin for POE::Component::Server::IRC
SYNOPSIS
use POE::Component::Server::IRC::Plugin::OperServ;
$ircd->plugin_add(
'OperServ',
POE::Component::Server::IRC::Plugin::OperServ->new(),
);
DESCRIPTION
POE::Component::Server::IRC::Plugin::OperServ is a POE::Component::Server::IRC plugin which provides simple operator services.
This plugin provides a server user called OperServ. OperServ accepts PRIVMSG commands from operators.
/msg OperServ <command> <parameters>
METHODS
new
Returns a plugin object suitable for feeding to POE::Component::Server::IRC's plugin_add
method.
COMMANDS
The following commands are accepted:
clear CHANNEL
The OperServ will remove all channel modes on the indicated channel, including all users' +ov flags. The timestamp of the channel will be reset and the OperServ will join that channel with +o.
join CHANNEL
The OperServ will simply join the channel you specify with +o.
part CHANNEL
The OperServ will part (leave) the channel specified.
mode CHANNEL MODE
The OperServ will set the channel mode you tell it to. You can also remove the channel mode by prefixing the mode with a '-' (minus) sign.
op CHANNEL USER
The OperServ will give +o to any user on a channel you specify. OperServ does not need to be in that channel (as this is mostly a server hack).
Whenever the OperServ joins a channel (which you specify with the join command) it will automatically gain +o.
AUTHOR
Chris 'BinGOs' Williams
LICENSE
Copyright (c)
Chris Williams
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.