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