Added in 1.8.10

$banmask

Returns the banmask used to ban or unban the user.

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

Example

on *:BAN:*:echo -ag The banned mask is $banmask

on *:UNBAN:*:echo -ag The unbanned mask is $banmask