Ban » History » Version 2
Per Amundsen, 08/13/2015 11:07 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 | |||
| 13 | *Parameters* |
||
| 14 | |||
| 15 | [#channel] - The channel to add/remove the ban. |
||
| 16 | <nickname|address> - Nick or address to ban. |
||
| 17 | 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) |
| 18 | 1 | Per Amundsen | [reason] - Optional reason used in combination with -k |
| 19 | |||
| 20 | *Example* |
||
| 21 | |||
| 22 | <pre> |
||
| 23 | ;Kicks and bans a nick from channel #test for 1 hour |
||
| 24 | /ban -ku3600 #test Nick Stop Spamming. |
||
| 25 | |||
| 26 | ;Removes ban on Nick from channel #test |
||
| 27 | /ban -r #test Nick |
||
| 28 | |||
| 29 | ;Bans all users from host.com |
||
| 30 | /ban #test *!*@host.com |
||
| 31 | </pre> |