Register forum user name Search FAQ

MUSHclient scripting

Description of MUSHclient world function: world.Redraw


Name Redraw
Type Method
Summary Schedules a redraw for all windows for this world
Prototype void Redraw();
Description

Schedules a redraw of all windows for this world. Use this after changing colours, or changing miniwindows.

Note that the main window is not actually redrawn at this point, however it is scheduled for redraw next time through the main event loop.

VBscript example
Redraw
Jscript example
Redraw();
PerlScript example
$world->Redraw();
Python example
Redraw
Lua example
Redraw ()
Returns Nothing.

See also ...

Function Description
BoldColour Gets/sets the RGB colour for one of the 8 ANSI bold colours
CustomColourBackground Sets the RGB value for the background of a custom colour
CustomColourText Sets the RGB value for the text of a custom colour
NormalColour Gets/sets the RGB colour for one of the 8 ANSI normal colours
NoteColour Chooses which custom colour will be used for world notes.
Repaint Forces an immediate redraw for all windows for this world

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.