Difference between revisions of "2.0/Modules/cs enforce"

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/cs_enforce}} {{Syntax|cs_enforce|NickServ|Anope}} == <div class="moduleheader">Description</div> == Enforce various channel modes and set options. The ...")
 
 
Line 1: Line 1:
 
{{Language|2.0/Modules/cs_enforce}}
 
{{Language|2.0/Modules/cs_enforce}}
{{Syntax|cs_enforce|NickServ|Anope}}
+
{{Syntax|cs_enforce|ChanServ|Anope}}
  
 
== <div class="moduleheader">Description</div> ==
 
== <div class="moduleheader">Description</div> ==

Latest revision as of 17:40, 6 May 2014

Language

English

Service ChanServ
Module cs_enforce
Author Anope

Description

Enforce various channel modes and set options. The channel option indicates what channel to enforce the modes and options on. The what option indicates what modes and options to enforce, and can be any of SECUREOPS, RESTRICTED, REGONLY, SSLONLY, BANS, or LIMIT.

Use SECUREOPS to enforce the SECUREOPS option, even if it is not enabled. Use RESTRICTED to enforce the RESTRICTED option, also if it's not enabled. Use REGONLY to kick all unregistered users from the channel. Use SSLONLY to kick all users not using a secure connection from the channel. BANS will enforce bans on the channel by kicking users affected by them, and LIMIT will kick users until the user count drops below the channel limit, if one is set.

Commands

enforce channel what

Examples

/msg ChanServ ENFORCE BANS

Default Configuration

/*
 * cs_enforce
 *
 * Provides the command chanserv/enforce.
 *
 * Used to enforce various channel settings such as secureops and restricted.
 */
module { name = "cs_enforce" }
command { service = "ChanServ"; name = "ENFORCE"; command = "chanserv/enforce"; group = "chanserv/management"; }