WITHLOC
Syntax: #WITHLOC location {commands}
Related: #LOCATION
Execute the given commands with the specified map location as the scripting object. For example, any %roomXXX functions will use the specified location instead of the current tracking location.
WITHLOC Example
#WITHLOC Dog {#TELEPORT 123;#SHOW %roomname()} The #TELEPORT command operates on the "Dog" location object, setting it to room number 123. Then, then script displays the room name of the current location (which is the "Dog" location).