Info
Script function

world.Info

DOC_scripting Read about scripting

Type

Method

Summary

Adds text to the "info" tool bar

Prototype

void Info(BSTR Message);

DOC_data_types 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.



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

DOC_infobar Info bar - programmable information bar

Functions

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

(Help topic: function=Info)

DOC_contents Documentation contents page