2.0/Modules/os kick

From AnopeWiki
Jump to: navigation, search
Language

English

Service OperServ
Module os_kick
Author Anope

Description

Allows staff to kick a user from any channel. Parameters are the same as for the standard /KICK command. The kick message will have the nickname of theIRCop sending the KICK command prepended; for example:

*** SpamMan has been kicked off channel #my_channel by OperServ (Alcan (Flood))

NOTE: Access to this command requires the permission operserv/kick to be present in your opertype.

Commands

kick channel user reason

Examples

/msg OperServ KICK #myChannel Fred Go away.

Default Configuration

/*
 * os_kick
 *
 * Provides the command operserv/kick.
 *
 * Used to kick users from channels.
 */
module { name = "os_kick" }
command { service = "OperServ"; name = "KICK"; command = "operserv/kick"; permission = "operserv/kick"; }