|
BotServ:BADWORDS
From EScriptIRC, The IRC-related documentation wiki
Syntax:
/msg BotServ BADWORDS channel ADD word [SINGLE | START | END]
/msg BotServ BADWORDS channel DEL {word | entry-num | list}
/msg BotServ BADWORDS channel LIST [mask | list]
/msg BotServ BADWORDS channel CLEAR
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, see the KICK section.
The BADWORDS ADD command adds the given word to the badword list. If SINGLE is specified, a kick will be done only if an user says the entire word. If START is specified, a kick will be done if an user says a word that starts with word. If END is specified, a kick will be done if an 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 an user.
The BADWORDS 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.)
The BADWORDS 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; for example:
/msg BotServ BADWORDS #channel LIST 2-5,7-9
Lists bad words entries numbered 2 through 5 and 7 through 9.
The BADWORDS CLEAR command clears all entries of the bad words list.
Back to BotServ commands.