Log in | Back to darenet.org

C/addtimedban

 
(5 intermediate revisions not shown)
Line 1: Line 1:
-
{{Related commands|[[ChanServ/addlamer|ADDLAMER]]<br />[[ChanServ/dellamer|DELLAMER]]<br />[[ChanServ/lamers|LAMERS]]}}<span class="cmdsyn">ADDTIMEDLAMER <#channel> <mask|nickname> <duration> <span class="cmdsynopt">[reason]</span></span>
+
{{Related commands|[[C/addban|ADDBAN]]<br />[[C/delban|DELBAN]]<br />[[C/bans|BANS]]}}<div class="cmdsyn">ADDTIMEDBAN <#channel> <mask|nickname> <duration> <span class="cmdsynopt">[reason]</span></div>
-
Adds a timed lamer to the channel's lamers list, automatically expiring after the specified duration has elapsed.
+
Adds an entry to the channel's timed ban list, which will automatically be removed once the given duration has passed.
-
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 timed 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.
-
Note: Timed lamers can be removed with the [[ChanServ/dellamer|DELLAMER]] command, just like permanent lamers.
+
{{info|text=If the entry being added matches an existing permanent or timed ban, the reason will be updated.}}
==Examples==
==Examples==
-
{| class="srvcscmd" width="90%" style="font-size: 90%;"
+
* <code>/msg C ADDTIMEDBAN #chat 30m NiTeMaRe</code>
-
| /msg ChanServ ADDTIMEDLAMER #chat 30m Joe
+
* <code>/msg C ADDTIMEDBAN #chat 2d *!*@some.host.com Trolls aren't welcome here.</code>
-
| Adds a timed lamer matching Joe's current host to #chat's lamers list, which will expire in 30 minutes.
+
-
|-
+
-
| /msg ChanServ ADDLAMER #chat 2d *!*@some.host.com
+
-
| Adds the mask *!*@some.host.com to #chat's lamers list, which will expire in 2 days.
+
-
|-
+
-
|}
+
<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
ADDBAN
DELBAN
BANS
ADDTIMEDBAN <#channel> <mask|nickname> <duration> [reason]

Adds an entry to the channel's timed ban list, which will automatically be removed once the given duration has passed.

If a user joining the channel matches an entry in the timed 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 or timed ban, the reason will be updated.

Examples

  • /msg C ADDTIMEDBAN #chat 30m NiTeMaRe
  • /msg C ADDTIMEDBAN #chat 2d *!*@some.host.com Trolls aren't welcome here.


[Go Back]