Register forum user name Search FAQ

Info

Script function

world.Info

Read about scripting

Type

Method

Summary

Adds text to the "info" tool bar

Prototype

void Info(BSTR Message);

View list of 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.


Available in MUSHclient version 3.29 onwards.



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.


See Also ...

Topic

Info bar - programmable information bar

Functions

(InfoBackground) Sets the background colour for the info bar
(InfoClear) Clears all text from the info bar
(InfoColour) Sets the colour of the foreground (text color) for the info bar
(InfoFont) Changes the font, font size and style for text on the info bar
(SetStatus) Sets the status line text
(ShowInfoBar) Shows or hides the "info" tool bar

(Help topic: function=Info)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.