Project

General

Profile

Ban » History » Version 8

Per Amundsen, 04/19/2023 07:16 PM

1 1 Per Amundsen
_Added in 1.7_
2
3
*/ban [-kruN] [#channel] <nickname|address> [type] [reason]*
4
5
Ban someone from the current channel using their nickname or address.
6
7 4 Per Amundsen
_If you do not specify a type then only the users nickname is used. If you specify a type then the users address is looked up via the server._
8
9 1 Per Amundsen
*Switches*
10
11 5 Per Amundsen
table(ktable).
12
|*Switch*|*Description*|
13 7 Per Amundsen
| -k | Kicks the specified *nickname* as well as banning with an optional reason. |
14 8 Per Amundsen
| -K | Kicks all users matching the specified *address* as well as banning with an optional reason. *(AdiIRC Only)* |
15 5 Per Amundsen
| -uN | Pause N seconds before removing the ban. |
16
| -r | Removes ban instead of adding. |
17
| -b | Apply the ban to the ban list. |
18
| -e | Apply the ban to the exception list. |
19
| -I | Apply the ban to the invite list. |
20
| -q | Apply the ban to the quiet list. |
21 3 Per Amundsen
22
*Parameters*
23 1 Per Amundsen
24 5 Per Amundsen
table(ktable).
25
|*Parameter*|*Description*|
26
| [#channel] | The channel to add/remove the ban. |
27 6 Per Amundsen
| &lt;nickname<notextile>|</notextile>address&gt; | Nick or address to ban. |
28 5 Per Amundsen
| [type] | Address type, see [[$mask]] for available types. (if no type is specified, ban type from Options -> Server -> Default ban type will be used) |
29
| [reason] | Optional reason used in combination with -k |
30 1 Per Amundsen
31
*Example*
32
33
<pre>
34
;Kicks and bans a nick from channel #test for 1 hour
35
/ban -ku3600 #test Nick Stop Spamming.
36
37
;Removes ban on Nick from channel #test
38
/ban -r #test Nick
39
40
;Bans all users from host.com
41
/ban #test *!*@host.com
42
</pre>