getworld
getworld function: GETs a pointer to a WORLD
$var = getworld( |
name
) ; |
Returns a variable that points to the open world with the given name. You can then manipulate that world with the returned variable (by calling functions that operate on worlds with that variable).
For example:
$coolmud = getworld("CoolMud"); $coolmud->send("quit");
This will send "quit
" to the CoolMud
world.