world.Info

MUSHclient script function (Method) — introduced in version 3.29

Adds text to the "info" tool bar

Prototype

void Info(BSTR Message);

Data type meanings

Description

This adds the specified text to the info bar.

The bar is not cleared first, use InfoClear if you want to start a fresh lot of text.

If you want to change the colour, font or style of the text, use InfoFont and/or InfoColour before displaying the text.

The info bar may contain mixed colours, fonts and styles.

The info bar is shared between all worlds. Switching worlds will not change its contents.

VBscript example

world.Info "You are now connected"

Jscript example

world.Info ("You are now connected");

PerlScript example

$world->Info ("You are now connected");

Python example

world.Info ("You are now connected")

Lua example

Info ("You are now connected")

Lua notes

You can supply multiple arguments, which are concatenated together.

eg.

Info ("You see ", themob, " here")

Return value

Nothing.

Related topic

Info bar - programmable information bar

See also

FunctionDescription
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
ShowInfoBarShows or hides the "info" tool bar