world.WorldPort

MUSHclient script function (Method)

Returns the port number of the current world.

Prototype

long WorldPort();

Data type meanings

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

Information

See also

FunctionDescription
WorldAddressReturns the TCP/IP address of the current world.
WorldNameGets the world's name