_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]] [[Scripting_Events|event]]._ *Example*
on *:BAN:*:echo -ag The banned mask is $banmask

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