From WikiChip
$toolbar identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The $toolbar identifier returns 1 if the toolbar is enabled in mIRC, 0 otherwise. It also returns information about the items on the toolbar.
Synopsis[edit]
$toolbar
$toolbar(name|N)
Parameters[edit]
None
or
Name|N = Name or Nth item in toolbar about which to return information. 0 = total number of toolbar items.
Properties[edit]
- .name
- .type
- .tip
- .alias
- .popup
- .width
- .height
- .wide
- .enabled
- .visible
- .checked
- .alpha
Example[edit]
//echo -a the toolbar is $iif($toolbar,On,Off) and contains $toolbar(0) items //var %i 0 | while (%i < $toolbar(0)) { echo -a %i : $toolbar(%i).name : $toolbar(%i).tip | inc %i }
Compatibility[edit]
Added: mIRC v6.32
Added on: 21 May 2008
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.