Log in | Back to darenet.org

C/addban

 
(2 intermediate revisions not shown)
Line 1: Line 1:
-
{{Related commands|[[ChanServ/addtimedlamer|ADDTIMEDLAMER]]<br />[[ChanServ/dellamer|DELLAMER]]<br />[[ChanServ/lamers|LAMERS]]}}<div class="cmdsyn">ADDBAN <#channel> <mask|nickname> <span class="cmdsynopt">[reason]</span></div>
+
{{Related commands|[[C/addtimedban|ADDTIMEDBAN]]<br />[[C/delban|DELBAN]]<br />[[C/bans|BANS]]}}<div class="cmdsyn">ADDBAN <#channel> <mask|nickname> <span class="cmdsynopt">[reason]</span></div>
Adds an entry to the channel's permanent ban list.
Adds an entry to the channel's permanent ban list.
-
If a user joining the channel matches an entry in the permanent ban list, ChanServ will automatically kick/ban the user from the channel.
+
If a user joining the channel matches an entry in the permanent ban list, C will automatically kick/ban the user from the channel.
An optional reason may be given, which will be shown in any kick messages.
An optional reason may be given, which will be shown in any kick messages.
Line 10: Line 10:
==Examples==
==Examples==
-
* <code>/msg ChanServ ADDBAN #chat NiTeMaRe</code>
+
* <code>/msg C ADDBAN #chat NiTeMaRe</code>
-
* <code>/msg ChanServ ADDBAN #chat *!*@some.host.com Trolls aren't welcome here.</code>
+
* <code>/msg C ADDBAN #chat *!*@some.host.com Trolls aren't welcome here.</code>
<html><table align="right"><tr><td><a href="javascript:history.go(-1)">[Go Back]</a></td></tr></table></html>
<html><table align="right"><tr><td><a href="javascript:history.go(-1)">[Go Back]</a></td></tr></table></html>

Current revision as of 16:50, 11 October 2012

Related Commands
ADDTIMEDBAN
DELBAN
BANS
ADDBAN <#channel> <mask|nickname> [reason]

Adds an entry to the channel's permanent ban list.

If a user joining the channel matches an entry in the permanent ban list, C will automatically kick/ban the user from the channel.

An optional reason may be given, which will be shown in any kick messages.

If the entry being added matches an existing permanent ban, the reason will be updated. If it matches a timed ban, the timed ban will be converted to a permanent ban, in addition to the reason being updated.

Examples

  • /msg C ADDBAN #chat NiTeMaRe
  • /msg C ADDBAN #chat *!*@some.host.com Trolls aren't welcome here.


[Go Back]