2.0/Modules/os mode

From AnopeWiki
Jump to: navigation, search
Language

English

Service OperServ
Module os_mode
Author Anope

Description

Allows Services Operators to change modes for any channel. Parameters are the same as for the standard /MODE command. Alternatively, CLEAR may be given to clear all modes on the channel. If CLEAR ALL is given then all modes, including user status, is removed.

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

Commands

mode channel modes
mode channel CLEAR [ALL]

Examples

/msg OperServ MODE #myChannel -mi+s

/msg OperServ MODE #myChannel CLEAR

Default Configuration

/*
 * os_mode
 *
 * Provides the commands operserv/mode and operserv/umode.
 *
 * Used to change user and channel modes.
 */
module { name = "os_mode" }
command { service = "OperServ"; name = "UMODE"; command = "operserv/umode"; permission = "operserv/umode"; }
command { service = "OperServ"; name = "MODE"; command = "operserv/mode"; permission = "operserv/mode"; }