| Name | NoteColourName |
|---|---|
| Type | Method |
| Summary | Chooses which RGB colour name will be used for world notes - text and background |
| Prototype | void NoteColourName(BSTR Foreground, BSTR Background); |
| Description | You
can use this to set the foreground (text) and background colours used in
world.note and world.tell. The colour is specified as a colour name, eg.
\"red\", \"green\", \"beige\", \"cyan\" and so on. The names are not case-sensitive. You can also use HTML colour codes, eg. \"#7FFF00\", in this case the colours are in the order #rrggbb (rr = red, gg = green, bb = blue). If a particular colour is invalid or not found, then that colour will be unchanged. Thus you can use this function to change the foreground colour only, the background colour only, or both. Eg. world.notecolourname \"red\", \"\" \' foreground only world.notecolourname \"\", \"blue\" \' background only world.notecolourname \"green\", \"cyan\" \' both You can use MUSHclient\'s \"colour picker\" to choose a suitable name. Use the Edit menu -> Colour Picker to do this, or press Ctrl+Alt+P. |
| VBscript example | |
| Jscript example | |
| PerlScript example | |
| Returns | Nothing. |
See also ...