-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
$bnick Identifier - mIRC
< mirc | identifiers
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
- mIRC Installation
- Virtual profile
- Playing music
- Unicode
- IPv6
- Optimization
- Threads
- DCC Protocols
- Line Length Limit
- Font rendering
$bnick refers to the nickname of the user either banned, or unbanned, during both an ON BAN Event, and an ON UNBAN Event.
Note: $bnick is not always set, because sometimes nicknames aren't even added to a certain ban/banmask.
Contents
[hide]Paramters[edit]
None
Example[edit]
Message any channel when a user has been banned
ON *:BAN:#: { ; We use this check to make sure the $bnick identifier ; has been filled, that way there are no unforeseen issues. if ($bnick) { msg # Looks like $bnick has been banned. } }
Message any channel when a user has been unbanned
ON *:UNBAN:#: { ; We use this check to make sure the $bnick identifier ; has been filled, that way there are no unforeseen issues. if ($bnick) { msg # Awesome! $bnick is now unbanned :) } }
Compatibility[edit]
Added: mIRC v4.6
Added on: 07 Sep 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also[edit]
[Expand]