Automapper
The automapper is a feature of Infinity's client that updates the game map (in the top right portion of your screen) as you navigate the mud. It has several built in commands and script api methods that allow you to interact with the map and utilize the client's speedwalker.
The speedwalker is a set of built in commands that allow you to quickly navigate from one room to another, based on the map data you have gathered.
Information Commands
/here - Print room information
Prints information about the room you are currently in such as room id, exit info, etc.
Speedwalker Commands
The /here
command prints information about the room you are currently in. Useful for looking up a room's unique ID number.
/map label - Assign a label to the current room
The Label Room command will assign a text label to the current room for easy recall later. Syntax:
/map label [string]
The following example will label your current room as lake
/map label lake
/runto - Speedwalk to a room
The Run To Room
is the main speedwalker command. It is used to navigate from your current location to another room, specified by unique id or label.
/runto [id|label]
The following example will run to the room labelled lake
:
/runto lake
Map Editing Commands
/map exitcmd - Specify an exit command
Some rooms require a special command before you can navigate through an exit. A classic example of this is a door that must be opened first. The /map exitcmd
command allows you to define such commands for the exits in your current room.
Syntax:
/map exitcmd [dir] [command]
dir: The exit direction for which you want to set a command (e.g. north)
command: The commands to substitute when you navigate in direction [dir]
Example
The room you are in has an exit to the north for which you must first open a door. The exit command would be specified thus:
/map exitcmd north open door;north
Then, when navigating north, the mapper will automatically substitute the open door
and north
commands:
You are in a dim hallway. To the north, a wooden
door leads to another room.
There are two obvious exits: north and south
> n <-- your input
> open door <-- issued by the exit command
You open the door to the north.
> north <-- issued by the exit command
/map exit - Create an exit from one room to another
Some rooms have exits that do not get auto mapped. Once you have discovered such an exit, you can link two rooms together using the /map exit
command. Map exits are a key piece of your map data and are used by the speedwalker to navigate from one room to the next.
Syntax:
/map exit [id|here] [dest id] [dir]
id|here: The room id (or `here`) to create the exit
FROM (i.e. the source)
dest id: The room id to create the exit
TO (i.e. the destination)
dir: The direction of the exit (full or abbreviated)
Example
To create an exit north from your current room to room 30291
:
/map exit here 30291 north
/map moveroom - Moves the location of a room on your map
The mapper is able to lay out most rooms automatically. However, sometimes a room may get placed incorrectly, or overlap with another. You can make manual adjustments to the position of your current room using the /map moveroom
command.
Syntax
/map moveroom [id|here] [dir]
id|here: The room id (or `here`) of the room to move
dir: The direction you want to move the room.
Example
Say the current you are in (the shop) was placed 1 grid space south of a road, however the map will look better if the shop were two grid spaces south. The following command will move your current room south:
/map moveroom here south
/map save - Saves the current map
Though the map will auto-save periodically, the /map save
command will save immediately.
Area Commands
/map area delete - Delete an area
Deletes an area with the specified name and all rooms inside that area.
Syntax:
/map area delete [name]
dir: The area name to delete
Room Commands
/map room delete - Delete a room
Deletes a room with the specified id, or the current room if no id is specified.
Syntax:
/map room delete [id]
id: Numeric id of the room to delete. If not specified, the current room
will be deleted.