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

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/cs_ban}} {{Syntax|cs_ban|ChanServ|Anope}} == <div class="moduleheader">Description</div> == Bans a given nick or mask on a channel. An optional expiry ...")
 
(No difference)

Latest revision as of 16:24, 6 May 2014

Language

English

Service ChanServ
Module cs_ban
Author Anope

Description

Bans a given nick or mask on a channel. An optional expiry may be given to cause services to remove the ban after a set amount of time.

By default, limited to AOPs or those with level 5 access and above on the channel. Channel founders may ban masks.

Commands

ban channel [+expiry] {nick | mask} [reason]

Examples

/msg ChanServ BAN #myChannel +1h Fred Go cool off before returning.

/msg ChanServ BAN #myChannel Fred@*.example.com You are no longer welcome here.

Default Configuration

/*
 * cs_ban
 *
 * Provides the command chanserv/ban.
 *
 * Used for banning users from channels.
 */
module { name = "cs_ban" }
command { service = "ChanServ"; name = "BAN"; command = "chanserv/ban"; }