LOCATION
Syntax: #LOC name roomkey color
Related: #WITHLOC, #TRACK, #UNLOC
Creates or displays a location marker for the map. If no arguments are given, the list of known locations is shown. If just a name is specified, the named marker is set to the current room on the map. When both the name and roomkey are specified, the named marker is set to the specified room key number. If the color is specified, the marker is set to that display color.
The #LOCATION command also sets the current location for using the various %RoomXXX functions.
LOCATION Example
#LOC Dog 123 red Creates a new location called "Dog" within room number 123 with a red marker color.
#LOC Displays all of the known locations
#LOC 123 Sets the current location marker to room 123.
#LOC Dog 456 Sets the "Dog" marker to room 456.
#LOC Dog
#SHOW %roomname() Sets the "Dog" marker as the current scripting location and then calls the %roomname function to display the name of the current room (the room pointed to by the "Dog" location)