ToyMage Apprentice
Joined: 01 Sep 2005 Posts: 120
|
Posted: Fri Dec 30, 2005 3:43 am
Query By Zone Instead of Name |
Hi,
I was hoping to query by Zone instead of Name, but I can't figure out the Zone field name.
For example if I type "Showzone Belgrade", it will show me all the rooms in Belgrade Zone
I'm currently using this for finding rooms.
------------------------
Alias: ShowRoom
#VAR QuestSpecial %REPLACE( %1, "'", "''")
#VAR QueryRoom %MAPQUERY( Name LIKE '%@QuestSpecial%')
#FORALL @QueryRoom {#SHOW %i, %ROOMNAME( %i), %ZONENAME( %ROOMZONE( %i))}
------------------------ |
|