[Home] [Downloads] [Search] [Help/forum]

MUSHclient scripting

Description of MUSHclient world function: world.Info


Name Info
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.


Note: Available in 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")
Returns Nothing.
Introduced in version 3.29

See also ...

Function Description
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

Search for script function

Enter a word or phrase in the box below to narrow the list down to those that match.

The function name, prototype, summary, and description are searched.

Search for:   

Leave blank to show all functions.


Return codes

Many functions return a "code" which indicates the success or otherwise of the function.

You can view a list of the return codes


Function prototypes

The "prototype" part of each function description lists exactly how the function is called (what arguments, if any, to pass to it).

You can view a list of the data types used in function prototypes


View all functions

[Back]

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]