Tell
Script function

world.Tell

DOC_scripting Read about scripting

Type

Method

Summary

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

Prototype

void Tell(BSTR Message);

DOC_data_types View list of 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.



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.




See Also ...

Topic

DOC_note Notes

Functions

FNC_AnsiNote AnsiNote (Make a note in the output window from text with ANSI colour codes imbedded)
FNC_ColourNote ColourNote (Sends a message to the output window in specified colours)
FNC_ColourTell ColourTell (Sends a message to the output window in specified colours - not terminated by a newline)
FNC_DoAfterNote DoAfterNote (Adds a one-shot, temporary note timer - simplified interface)
FNC_GetNoteStyle GetNoteStyle (Gets the style for notes)
FNC_Hyperlink Hyperlink (Creates a hyperlink in the output window)
FNC_Note Note (Sends a note to the output window)
FNC_NoteColour NoteColour (Chooses which custom colour will be used for world notes.)
FNC_NoteColourBack NoteColourBack (Chooses which RGB colour will be used for world notes - background colour)
FNC_NoteColourFore NoteColourFore (Chooses which RGB colour will be used for world notes - text colour)
FNC_NoteColourName NoteColourName (Chooses which RGB colour name will be used for world notes - text and background)
FNC_NoteColourRGB NoteColourRGB (Chooses which RGB colour will be used for world notes - text and background)
FNC_NoteHr NoteHr (Draws a horizontal rule in the output window)
FNC_NoteStyle NoteStyle (Sets the style for notes)
FNC_Send Send (Sends a message to the MUD)
FNC_SetNotes SetNotes (Sets the notes for the world.)

(Help topic: function=Tell)

DOC_contents Documentation contents page