From WikiChip
mirc/identifiers/$banmask
< mirc‎ | identifiers
Revision as of 21:47, 23 June 2014 by Zmodem (talk | contribs) (Example)

$banmask returns the current user ban through either an ON BAN Event, or an ON UNBAN Event. Most of the time, a banmask returns a wildcard address, generally resembling *user*@host.net.

Synopsis

$banmask

Parameters

None

Example

Message any channel where a ban has occurred, acknowledging the address the ban was placed on

ON *:BAN:#: {
  msg # Uh, oh! Looks like the address $banmask has just been banned.
}

Message any channel where an unban has occurred, and report the address that was removed

ON *:UNBAN:#: {
  msg # Oh, look! $banmask was just removed from the channel banlist.
}

Compatibility

See Also