Connect
Script function

world.Connect

DOC_scripting Read about scripting

Type

Method

Summary

Connects the world to the MUD server

Prototype

long Connect();

DOC_data_types View list of data type meanings


Description

This connects the current world. Note that since connecting is "asynchronous" you are not actually connected when this command completes. A return value of eOK simply means that the connection process has successfully started.

You can use IsConnected to see if the world is currently connected.



VBscript example

world.connect



Jscript example

world.connect();



PerlScript example

$world->connect;



Python example

world.connect



Lua example

Connect()



Return value

eWorldOpen: world is already open
eOK: initiated connection


DOC_errors View list of return code meanings


See Also ...

Functions

FNC_Disconnect Disconnect (Disconnects the world from the MUD server)
FNC_IsConnected IsConnected (Tests to see if the world is connected to the MUD server)
FNC_ResetIP ResetIP (Resets the cached IP address of the world and proxy server)

(Help topic: function=Connect)

DOC_contents Documentation contents page