Project

General

Profile

Ban » History » Version 7

Per Amundsen, 03/28/2023 10:17 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 5 Per Amundsen
| -uN | Pause N seconds before removing the ban. |
15
| -r | Removes ban instead of adding. |
16
| -b | Apply the ban to the ban list. |
17
| -e | Apply the ban to the exception list. |
18
| -I | Apply the ban to the invite list. |
19
| -q | Apply the ban to the quiet list. |
20 3 Per Amundsen
21
*Parameters*
22 1 Per Amundsen
23 5 Per Amundsen
table(ktable).
24
|*Parameter*|*Description*|
25
| [#channel] | The channel to add/remove the ban. |
26 6 Per Amundsen
| &lt;nickname<notextile>|</notextile>address&gt; | Nick or address to ban. |
27 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) |
28
| [reason] | Optional reason used in combination with -k |
29 1 Per Amundsen
30
*Example*
31
32
<pre>
33
;Kicks and bans a nick from channel #test for 1 hour
34
/ban -ku3600 #test Nick Stop Spamming.
35
36
;Removes ban on Nick from channel #test
37
/ban -r #test Nick
38
39
;Bans all users from host.com
40
/ban #test *!*@host.com
41
</pre>