From WikiChip
$toolbar identifier - mIRC
< mirc‎ | identifiers
Revision as of 11:15, 2 March 2024 by KindOne (talk | contribs) (This identifier uses 0/1, not $true/$false.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

$toolbar
$toolbar(name|N)

Parameters

None
or
Name|N = Name or Nth item in toolbar about which to return information. 0 = total number of toolbar items.

Properties

  • .name
  • .type
  • .tip
  • .alias
  • .popup
  • .width
  • .height
  • .wide
  • .enabled
  • .visible
  • .checked
  • .alpha

Example

//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

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