world.SetChanged

MUSHclient script function (Method) — introduced in version 3.60

Sets or clears the "document has changed" flag

Prototype

void SetChanged(BOOL ChangedFlag);

Data type meanings

Description

Use this function to set or clear the "world has changed" flag. If this flag is set, you will be asked to save it. If clear, you will not be asked to save it.

VBscript example

SetChanged vbTrue

Jscript example

SetChanged (true)

Lua example

SetChanged (true)

Lua notes

The argument is optional, and defaults to true.

Return value

Nothing.

Related topic

Information