contents.gifindex.gifprev1.gifnext1.gif

pueblo00000000.gif TinTin #return command

This command will back you up from the last direction stored in the path. It uses the opposite direction as defined by the #pathdir command to do this.

You can use #return with a repeat count to return multiple steps back in the direction you came, for example:

#10 #return

Example

Assume that the following directions are defined:

#pathdir {n} {s}

#pathdir {s} {n}

#pathdir {w} {e}

#pathdir {e} {w}

Then assume that you’ve entered the following commands:

n

e

n

n

look

w

look

At this point, if you enter the #return command, you will move ‘e’, since the last direction you moved in was ‘w’. If you enter #return again, you will move ‘s’.

Also see

#map

#mark

#path

#pathdir

#savepath

#unpath