#pathdir

Syntax: #pathdir {direction string} {return string}

When a user types in a command, it is checked to see if it is a direction command. A direction command is basically a command that moves you to another room (north and south are obvious examples). However, if pathmode is ON, then JMC will attempt to store the direction you just moved (see #path for more information on pathmode). By default, JMC defines six direction strings: "n s e w d u". If your MUD uses nonstandard direction commands (like Northwest, SouthEast etc) you should add these strings to the pathlist with the #pathdir command. The direction is the first argument. The second argument of this command is the "opposite" direction. JMC uses this "opposite" information in the #return command. Usually, MUD’s use 6 directions (n s e w d u) and you don’t need to worry about adding new pathdirs.

Example:

#pathdir {Northwest} {SouthEast}

Any time you type Northwest, this word will be added to current path (if pathmode is ON).

See also: #mark, #unpath, #path, #savepath, #return, #map