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.