Ban » History » Version 5
Per Amundsen, 02/14/2023 11:55 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 | 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 | | -k | Kick as well as banning with an optional reason. | |
||
| 14 | | -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 | | <nickname|address> | Nick or address to ban. | |
||
| 27 | | [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> |