world.Tell

MUSHclient script function (Method)

Sends a message to the output window - not terminated by a newline

Prototype

void Tell(BSTR Message);

Data type meanings

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.

Return value

Nothing.

Related topic

Notes

See also

FunctionDescription
ColourNoteSends a message to the output window in specified colours
ColourTellSends a message to the output window in specified colours - not terminated by a newline
NoteSends a note to the output window
NoteColourChooses which custom colour will be used for world notes.
NoteColourBackChooses which RGB colour will be used for world notes - background colour
NoteColourForeChooses which RGB colour will be used for world notes - text colour
NoteColourNameChooses which RGB colour name will be used for world notes - text and background
NoteColourRGBChooses which RGB colour will be used for world notes - text and background
NoteHrDraws a horizontal rule in the output window
NoteStyleSets the style for notes
SendSends a message to the MUD