Difference between revisions of "2.0/Modules/os mode"

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/os_mode}} {{Syntax|os_mode|OperServ|Anope}} == <div class="moduleheader">Description</div> == Allows Services Operators to change modes for any channel...")
 
(No difference)

Latest revision as of 22:26, 8 May 2014

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"; }