Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue May 27, 2003 11:25 pm |
The problem is that the table in the datbase that has all the rooms, does not store the names of the zones, but rather an ID. So you would have to have it match [ZoneID] and know the ID of the zone you want. To find out the ID of a zone, use the %zonenum function.
As for walking all rooms in a zone, you could loop through all the rooms in the zone and use %walk function to get the path to the room. Then using the onwalkend alias, you could have it continue to the next, until it has walked to each room.
Kjata |
|