Register forum user name Search FAQ

MUSHclient scripting

Description of MUSHclient world function: world.Tell


Name Tell
Type Method
Summary Sends a message to the output window - not terminated by a newline
Prototype void Tell(BSTR Message);
Description

This makes a note in the output window. It is not transmitted to the world. It is useful for making comments to yourself. The note is NOT automatically terminated by a newline, so you can use Tell multiple times on one line (eg. to change colour in mid-line).

The note appears in the current NoteColour (a custom colour), or in the RGB colours selected by NoteColourFore and NoteColourBack.

You can also choose colours with NoteColourRGB and NoteColourName.

A new line will automatically be started by output from the MUD, or a command that you type being echoed to the output window. You can send a new line yourself by sending vbCRLF (in Visual Basic) or \n in Jscript or Perlscript.

To make changes to the text style (eg. bold, underline) see NoteStyle.

VBscript example
world.tell "This monster is worth avoiding!"
Jscript example
world.tell("This monster is worth avoiding!");
PerlScript example
$world->tell("This monster is worth avoiding!");
Python example
world.tell("This monster is worth avoiding!")
Lua example
Tell ("This monster is worth avoiding!")
Lua notes
You can supply multiple arguments, which are concatenated together.
Returns Nothing.

See also ...

Function Description
ColourNote Sends a message to the output window in specified colours
ColourTell Sends a message to the output window in specified colours - not terminated by a newline
Note Sends a note to the output window
NoteColour Chooses which custom colour will be used for world notes.
NoteColourBack Chooses which RGB colour will be used for world notes - background colour
NoteColourFore Chooses which RGB colour will be used for world notes - text colour
NoteColourName Chooses which RGB colour name will be used for world notes - text and background
NoteColourRGB Chooses which RGB colour will be used for world notes - text and background
NoteHr Draws a horizontal rule in the output window
NoteStyle Sets the style for notes
Send Sends a message to the MUD

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]

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