world.ShowInfoBar

MUSHclient script function (Method) — introduced in version 3.29

Shows or hides the "info" tool bar

Prototype

void ShowInfoBar(BOOL Visible);

Data type meanings

Description

Use this to show or hide the "info" toolbar (the one above the status line).

VBscript example

world.ShowInfoBar vbTrue  ' show bar

world.ShowInfoBar vbFalse  ' hide bar

Jscript example

world.ShowInfoBar (true); // show bar

world.ShowInfoBar (false); // hide bar

PerlScript example

$world->ShowInfoBar (1); # show bar

$world->ShowInfoBar (0); # hide bar

Python example

world.ShowInfoBar (True) # show bar

world.ShowInfoBar (False) # hide bar

Lua example

ShowInfoBar (true) -- show bar

ShowInfoBar (false) -- hide bar

Lua notes

The Visible flag is optional, and defaults to true.

Return value

Nothing.

Related topic

Info bar - programmable information bar

See also

FunctionDescription
InfoAdds text to the "info" tool bar
InfoBackgroundSets the background colour for the info bar
InfoClearClears all text from the info bar
InfoColourSets the colour of the foreground (text color) for the info bar
InfoFontChanges the font, font size and style for text on the info bar
SetStatusSets the status line text