world.WorldPort
Returns the port number of the current world.
Prototype
long WorldPort();
Description
Returns the port number of the current world.
VBscript example
world.note world.WorldPort
Jscript example
world.Note(world.WorldPort());
PerlScript example
$world->Note($world->WorldPort());
Python example
world.Note(world.WorldPort)
Lua example
Note(WorldPort())
Return value
Port number of the current world.
Related topic
See also
| Function | Description |
|---|---|
| WorldAddress | Returns the TCP/IP address of the current world. |
| WorldName | Gets the world's name |