Lrooms()
Description
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.
Related Topics: @dolist, lexits(), PARENT OBJECTS
Examples
- > 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"
(--Soylent 02:12, 3 December 2005 (EST))