Project

General

Profile

Added in 1.7

/ban [-kruN] [#channel] <nickname|address> [type] [reason]

Ban someone from the current channel using their nickname or address.

Switches

-k - Kick as well as banning with an optional reason.
-uN - Pause N seconds before removing the ban.
-r - Removes ban instead of adding.

Parameters

[#channel] - The channel to add/remove the ban.
<nickname|address> - Nick or address to ban.
[type] - Address type, see $mask for available types. (if no type is specified, ban type from Options -> Server -> Default ban type will be used)
[reason] - Optional reason used in combination with -k

Example

;Kicks and bans a nick from channel #test for 1 hour
/ban -ku3600 #test Nick Stop Spamming.

;Removes ban on Nick from channel #test
/ban -r #test Nick

;Bans all users from host.com
/ban #test *!*@host.com

Also available in: PDF HTML TXT