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

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:   

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]