Project

General

Profile

Ban » History » Version 3

Per Amundsen, 05/14/2017 01:16 AM

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