Difference between revisions of "2.0/Modules/bs badwords"
From AnopeWiki
(Created page with "{{Language|2.0/Modules/bs_badwords}} {{Syntax|bs_badwords|BotServ|Anope}} == <div class="moduleheader">Description</div> == Maintains the bad words list for a channel. The ba...") |
(No difference)
|
Latest revision as of 20:20, 7 May 2014
Language | |
---|---|
English |
|
Description
Maintains the bad words list for a channel. The bad words list determines which words are to be kicked when the bad words kicker is enabled. For more information, type /msg BotServ HELP KICK badwords.
Commands
- badwords channel ADD word [SINGLE | START | END]
- The ADD command adds the given word to the bad words list. If SINGLE is specified, a kick will be done only if a user says the entire word. If START is specified, a kick will be done if a user says a word that starts with word. If END is specified, a kick will be done if a user says a word that ends with word. If you don't specify anything, a kick will be issued every time word is said by a user.
- badwords channel DEL {word | entry-num | list}
- The DEL command removes the given word from the bad words list. If a list of entry numbers is given, those entries are deleted. (See the example for LIST below.)
- badwords channel LIST [mask | list]
- The LIST command displays the bad words list. If a wildcard mask is given, only those entries matching the mask are displayed. If a list of entry numbers is given, only those entries are shown.
- badwords channel CLEAR
- The CLEAR command clears all entries of the bad words list.
Examples
/msg BotServ BADWORDS #myChannel ADD nazi
/msg BotServ BADWORDS #myChannel DEL russian
/msg BotServ BADWORDS #myChannel LIST
Default Configuration
/* * bs_badwords * * Provides the command botserv/badwords. * * Used for controlling the channel badword list. */ module { name = "bs_badwords" /* * The maximum number of entries a single bad words list can have. */ badwordsmax = 32 /* * If set, BotServ will use case sensitive checking for badwords. * * This directive is optional. */ #casesensitive = yes } command { service = "BotServ"; name = "BADWORDS"; command = "botserv/badwords"; }