world.Disconnect

MUSHclient script function (Method)

Disconnects the world from the MUD server

Prototype

long Disconnect();

Data type meanings

Description

This disconnects from the current world. (ie. It disconnects from the MUD server).

VBscript example

world.disconnect

Jscript example

world.disconnect();

PerlScript example

$world->disconnect();

Python example

world.disconnect

Lua example

Disconnect()

Return value

eWorldClosed: world is already closed
eOK: disconnected OK

Return code meanings

See also

FunctionDescription
ConnectConnects the world to the MUD server
IsConnectedTests to see if the world is connected to the MUD server