From WikiChip
Difference between revisions of "mirc/identifiers/$toolbar"
< mirc‎ | identifiers

m (This identifier uses 0/1, not $true/$false.)
 
Line 1: Line 1:
{{mirc title|$toolbar identifier}}'''$toolbar''' returns {{mirc|$true}} if the toolbar is enabled in mIRC, {{mirc|$false}} otherwise. It also returns information about the items on the toolbar.
+
{{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 12:15, 2 March 2024

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.

See also[edit]