[Home] [Downloads] [Search] [Help/forum]

Connect

Script function

world.Connect

Read about scripting

Type

Method

Summary

Connects the world to the MUD server

Prototype

long Connect();

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

View list of return code meanings

See Also ...

Functions

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

(Help topic: function=Connect)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]