From WikiChip
Difference between revisions of "mirc/identifiers/$toolbar"
Maroonbells (talk | contribs) |
m (This identifier uses 0/1, not $true/$false.) |
||
Line 1: | Line 1: | ||
− | {{mirc title|$toolbar identifier}}'''$toolbar''' returns | + | {{mirc title|$toolbar identifier}}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 == | == Synopsis == | ||
<pre>$toolbar</pre> | <pre>$toolbar</pre> |
Latest revision as of 11:15, 2 March 2024
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.