Added in 1.9.4

$bnick

Returns the banned/unbanned users nickname, however this would actually only be filled if the banmask itself includes a nickname. If the banmask does not include a nickname, $bnick is $null.

This is only filled in the on BAN and on UNBAN event.

Example

on *:BAN:*:echo -ag The banned nick is $bnick

on *:UNBAN:*:echo -ag The unbanned nick is $bnick