NODIR

Syntax: #NODIR

Removes the last direction from the command queue stored in the mapper. This command is used in triggers to ignore the last direction when a move step was unsuccessful.

NODIR Example

#TRIGGER {^You can't go that direction} {#NODIR}
#TRIGGER {(%w) is closed} {#DOOR %lastdir() %1;#NODIR}
Both of these examples get the mapper back in synch be removing the last direction moved to prevent a room from being created in that direction. The second example is more complex and actually creates a door in the given direction before removing the command from the stack.


Contents NODEF NOMAP