Disconnect
Script function

world.Disconnect

DOC_scripting Read about scripting

Type

Method

Summary

Disconnects the world from the MUD server

Prototype

long Disconnect();

DOC_data_types View list of 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


DOC_errors View list of return code meanings


See Also ...

Functions

FNC_Connect Connect (Connects the world to the MUD server)
FNC_IsConnected IsConnected (Tests to see if the world is connected to the MUD server)

(Help topic: function=Disconnect)

DOC_contents Documentation contents page