world.GetWorldID

MUSHclient script function (Method) — introduced in version 3.52

Returns the 24-character ID of the current world

Prototype

BSTR GetWorldID();

Data type meanings

Description

Returns the unique ID (identifier) of the currently-executing world.

VBscript example

world.Note world. GetWorldID

Jscript example

world.Note (world. GetWorldID ());

PerlScript example

$world->Note ($world-> GetWorldID ());

Python example

world.Note (world. GetWorldID )

Lua example

Note ( GetWorldID ())

Return value

The 24-character unique ID of the current world.

Related topic

Information

See also

FunctionDescription
GetPluginIDReturns the 24-character ID of the current plugin