| Name | ColourTell |
|---|---|
| Type | Method |
| Summary | Sends a message to the output window in specified colours - not terminated by a newline |
| Prototype | void ColourTell(BSTR TextColour, BSTR BackgroundColour, BSTR Text); |
| Description | This
lets you do a "tell" in a specified colour. 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 ColourTell multiple times on one
line (eg. to change colour in mid-line). The note colour is saved and restored,
so that the world note colour is unchanged after using this function (however
the new colour is used for the tell itself). eg. world.ColourTell "red", "blue", "Hello there" The colour is specified by colour name - you can use the MUSHclient colour picker to see all possible colour names, or type: world.debug "colours". You can also specify colours in HTML format, like this: world.ColourTell "#FAEBD7", "#FFB6C1", "Hi there" If you leave a colour name blank, it is unchanged. Thus you could do this to get red text on the existing background: world.ColourTell "red", "", "Hello there" 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. Note: Available in MUSHclient version 3.23 onwards. |
| VBscript example | |
| Jscript example | |
| PerlScript example | |
| Returns | Nothing. |
See also ...