From WikiChip
$isbit Identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$isbit returns 1 if the Nth bit is turned on
Synopsis[edit]
$isbit(A,N)
Parameters[edit]
- A - The number, in base10/decimal
- N - The Nth bit you want to check
Properties[edit]
None
Example[edit]
//var %a 5 | echo -a $base(%a,10,2) $isbit(%a,2)
Compatibility[edit]
Added: mIRC v5.61
Added on: 23 Sep 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.