Project

General

Profile

Actions

Added in 1.9.3

$statusbar

Returns $true if Statusbar is visible, otherwise $false.


Added in 1.9.7

$statusbar(name|N)

Returns the Statusbar item matching name or the Nth item, if N = 0, number of Statusbar items.

See also /statusbar.

Parameters

name|N - Statusbar item name or the Nth item.

Properties

.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.
.popup - Item popup name.
.x - Horizontal position of the statusbar item relative to the main AdiIRC window.
.y - Vertical position of the statusbar item relative to the main AdiIRC window.
.w - Statusbar item width.
.h - Statusbar item height.
.dx - Horizontal position of the statusbar item relative to the desktop.
.dy - Vertical position of the 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)

Updated by Per Amundsen 8 months ago · 8 revisions

Also available in: PDF HTML TXT