_Added in 1.9.3_
*$statusbar*
Returns [[$true]] if [[Statusbar_Control|Statusbar]] is visible, otherwise [[$false]].
_See also [[/statusbar]], [[Statusbar_Control|Statusbar]]._
-----------------------------------------------------------------------------
_Added in 1.9.7_
*$statusbar(name|N)*
Returns the [[Statusbar_Control|Statusbar]] item matching name or the Nth item, if N = 0, number of Statusbar items.
_.alias, .popup, .iconfile properties does not work for built-in items._
_See also [[/statusbar]], [[Statusbar_Control|Statusbar]]._
*Parameters*
table(ktable).
|*Parameter*|*Description*|
| name|N | [[Statusbar_Control|Statusbar]] item name or the Nth item. |
*Properties*
table(ktable).
|*Property*|*Description*|
| .name | Item name. |
| .text | Item text. |
| .icon | [[$true]] if the item has a icon, otherwise [[$false]]. |
| .visible | [[$true]] if the item is visible, otherwise [[$false]]. |
| .custom | [[$true]] if the item is custom, otherwise [[$false]]. |
| .tooltip | Item tooltip. |
| .alias | Item alias. |
| .iconfile | Returns the icon file, if any. |
| .popup | Item popup name. |
| .x | Horizontal position of the [[Statusbar_Control|Statusbar]] item relative to the main AdiIRC window. |
| .y | Vertical position of the [[Statusbar_Control|Statusbar]] item relative to the main AdiIRC window. |
| .w | [[Statusbar_Control|Statusbar]] item width. |
| .h | [[Statusbar_Control|Statusbar]] item height. |
| .dx | Horizontal position of the [[Statusbar_Control|Statusbar]] item relative to the desktop. |
| .dy | Vertical position of the [[Statusbar_Control|Statusbar]] item relative to the desktop. |
*Example*
; Print number of Statusbar items.
//echo -ag $statusbar(0)
; Print the first Statusbar item name.
//echo -ag $statusbar(1)