| POE-Component-Server-IRC documentation | view source | Contained in the POE-Component-Server-IRC distribution. |
POE::Component::Server::IRC::Plugin::OperServ - An OperServ plugin for POE::Component::Server::IRC
use POE::Component::Server::IRC::Plugin::OperServ;
$ircd->plugin_add(
'OperServ',
POE::Component::Server::IRC::Plugin::OperServ->new(),
);
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>
newReturns a plugin object suitable for feeding to
POE::Component::Server::IRC's plugin_add
method.
The following commands are accepted:
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.
The OperServ will simply join the channel you specify with +o.
The OperServ will part (leave) the channel specified.
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.
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.
Chris 'BinGOs' Williams
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.
| POE-Component-Server-IRC documentation | view source | Contained in the POE-Component-Server-IRC distribution. |