contents.gifindex.gifprev1.gifnext1.gif

pueblo00000000.gif TinTin #pathdir command

This command will define directions that should be used when tracking the path you’ve taken from one point to another. Note that directions will not be added to your path unless the command you enter for that direction has been defined using this command.

No path directions are defined by default.

Command syntax

#pathdir

This format will list all defined directions. The left side specifies the direction, while the right side specifies the opposite direction that is defined for that direction.

#pathdir {filter}

This format will list all path directions that match filter. ‘*’ may be used as a wildcard character. For example, ‘n*’ matches all directions that start with the letter ‘n’.

#pathdir {direction} {opposite direction}

This format will define a new direction. ‘opposite direction’ is what will be sent when backing up from direction (using the #return command.)

Example

The following code defines a good set of basic directions:

#pathdir {n} {s}

#pathdir {north} {s}

#pathdir {s} {n}

#pathdir {south} {n}

#pathdir {e} {w}

#pathdir {east} {w}

#pathdir {w} {e}

#pathdir {west} {e}

#pathdir {u} {d}

#pathdir {up} {d}

#pathdir {d} {u}

#pathdir {down} {u}

Also see

#map

#mark

#path

#return

#savepath

#unpath