Ban » History » Version 4
Per Amundsen, 02/04/2020 09:02 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 | -k - Kick as well as banning with an optional reason. |
||
12 | -uN - Pause N seconds before removing the ban. |
||
13 | -r - Removes ban instead of adding. |
||
14 | 3 | Per Amundsen | -b - Apply the ban to the ban list. |
15 | -e - Apply the ban to the exception list. |
||
16 | -I - Apply the ban to the invite list. |
||
17 | -q - Apply the ban to the quiet list. |
||
18 | 1 | Per Amundsen | |
19 | *Parameters* |
||
20 | |||
21 | [#channel] - The channel to add/remove the ban. |
||
22 | <nickname|address> - Nick or address to ban. |
||
23 | 2 | 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) |
24 | 1 | Per Amundsen | [reason] - Optional reason used in combination with -k |
25 | |||
26 | *Example* |
||
27 | |||
28 | <pre> |
||
29 | ;Kicks and bans a nick from channel #test for 1 hour |
||
30 | /ban -ku3600 #test Nick Stop Spamming. |
||
31 | |||
32 | ;Removes ban on Nick from channel #test |
||
33 | /ban -r #test Nick |
||
34 | |||
35 | ;Bans all users from host.com |
||
36 | /ban #test *!*@host.com |
||
37 | </pre> |