Log in | Back to darenet.org

C/addban

m
 
(5 intermediate revisions not shown)
Line 1: Line 1:
-
{{Related commands|[[ChanServ/addtimedlamer|ADDTIMEDLAMER]]<br />[[ChanServ/dellamer|DELLAMER]]<br />[[ChanServ/lamers|LAMERS]]}}<div class="cmdsyn">ADDLAMER <#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 lamers list, remaining in effect until removed with the [[ChanServ/dellamer|DELLAMER]] command.  
+
Adds an entry to the channel's permanent ban list.
-
An optional reason may be specified, which will be shown in any kick messages.
+
If a user joining the channel matches an entry in the permanent ban list, C will automatically kick/ban the user from the channel.
-
Lamers are hostmasks in the format of <code>nick!user@host</code> (just like channel bans), which ChanServ watches for and keeps users matching them out of your channel. When adding an entry, if it exactly matches an existing lamer, the reason will be updated. If the existing lamer was a timed lamer, it will be changed to a permanent lamer.
+
An optional reason may be given, which will be shown in any kick messages.
 +
 
 +
{{info|text=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==
==Examples==
-
{| class="srvcscmd" width="90%" style="font-size: 90%;"
+
* <code>/msg C ADDBAN #chat NiTeMaRe</code>
-
| /msg ChanServ ADDLAMER #chat Joe
+
* <code>/msg C ADDBAN #chat *!*@some.host.com Trolls aren't welcome here.</code>
-
| Adds a lamer matching Joe's current host to #chat's lamers list.
+
 
-
|-
+
-
| /msg ChanServ ADDLAMER #chat *!*@some.host.com
+
-
| Adds the mask *!*@some.host.com to #chat's lamers list.
+
-
|-
+
-
|}
+
<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]