Skip to main content

Commands (nm)

nexMap4 exposes an in-client command surface under the nm prefix. Each nm command parses to a canonical command id and runs through the same router the public API uses. Type nm help in the client (or open the shell's Help tab) for the live, version-accurate list.

nm goto 315
nm help

Travel

CommandAction
nm goto <room id|landmark|area>Resolve a destination and begin travel.
nm stopStop the active route.

Map

CommandAction
nm roominfoPrint current room details.
nm infoPrint a full GMCP + crowdmap diagnostic for the current room.
nm zoom <level>Set the map zoom level.
nm fitFit the viewport to the visible area.
nm centerCenter the viewport on the current room.
nm refreshRefresh the map renderer.
nm setbg <url> / nm background <url>Set the background image (off clears it).
CommandAction
nm find <text>Search room names; opens the Results dialog.
nm area <text>Search area names.
nm gamearea <text>Resolve Game Area labels to crowdmap areas.
nm npc <text>Search denizens; opens the Results dialog.

Landmarks

CommandAction
nm mark <name>Save the current room as a landmark.
nm unmark <name>Remove a saved landmark by name.
nm marksList saved landmarks (opens the Landmarks panel).

Wormholes

CommandAction
nm wormholes on|offEnable or disable wormhole travel.
nm wormholes [list]List loaded remote wormholes.
nm wormholes refreshReload wormholes and refresh pathing edges.
nm wormholes probe [command]Send a probe command and arm the parser.
nm wormholes add <source> <target>Create or replace a wormhole.
nm wormholes remove [source]Remove a wormhole by source room.

nm wormhole … (singular) is accepted as well.

Travel-class toggles

CommandToggles
nm clouds on|offeagleWings + atavianWings
nm highclouds on|offatavianWings (alias: nm atavianwings)
nm lowclouds on|offeagleWings (alias: nm eaglewings)
nm wings on|offAll three wing classes
nm sewergrates on|offsewergrate (aliases: nm sewergrate, nm grates)
nm universe on|offuniverse
nm knocker on|offknocker
nm airharness on|offairHarness

Tracking

CommandAction
nm track <room id> <name>Track a target at a known room.
nm track-pet <room id> <name>Track a pet at a known room.
nm untrack [subject]Clear one tracked subject, or all overlays.

Intelligence

CommandAction
nm fullsense <name>[, <name>…]Highlight one or more fullsense entries on the map.

System

CommandAction
nm config / nm settingsOpen the settings dialog.
nm shellOpen the shell (Landmarks / NPCs / Help).
nm helpShow command help.

Running commands from JavaScript

parseAndExecute runs an nm command body programmatically — the nm prefix is optional:

nexMap.api.commands.parseAndExecute("goto 315");
nexMap.api.commands.parseAndExecute("wormholes add 4270 328");

Unknown verbs return a friendly error notice; an nm command that maps to a newer-than-installed feature asks you to update nexMap4 rather than failing silently.