lrooms - luxembourg/muxcode-clm GitHub Wiki
LROOMS()
FUNCTION: lrooms(<loc> [,<depth> [,<all>]])
Returns a space-separated list of the rooms connected to <loc> taking into account parentage and permissions.
<depth> defaults to adjacent rooms (value of 1), but a larger value would include rooms that are correspondingly further away.
<all> is a flag that controls whether all traversed rooms or whether only the rooms at the perimeter are reported. By default, all rooms are returned.
Example: > look here The Town Square You are in the town square. All around you ..... Obvious exits: foo up southeast sw north > say lrooms(here,1) You say, "#3 #12 #91 #82 #63"
Related Topics: @dolist, lexits, PARENT OBJECTS