TinTin++ Mud Client Manual  
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
Path
space
Syntax: #path {del|end|ins|load|map|new|save|run|walk} {argument}
space
The path command is a quick and easy way to record your movements and create a list of commands to move from one location to another, and back. For a far more advanced mapper check out the #map command.
space
#path {new}
space
This command starts the path tracking mode. If you enter a movement command (listed with #pathdir) it will be added to your path.
space
#path {end}
space
After you started path tracking with #path new, you can stop with #path end. This won't erase the created path, though typing #path new again would.
space
#path {map}
space
This command displays the path created so far, it shows a list of commands and not a graphical map.
space
#path {ins} {forward command} {backward command}
space
Sometimes you need to open doors when walking from here to there, with this option you can insert commands into a path you're creating. When creating a path from A to B, you automatically create a backwards path from B to A as well. Hence the second argument is the command that is inserted for the backward path.
space
Example: #path ins {open north} {};n;#path ins {} {open south}
#path {del}
space
Removes the last move in the path.
space
Example: #action {Alas, you cannot go that way.} {#path del}
#path {save} {forward|backward} {variable}
space
This command saves the created path to the provided variable, you must specify whether to save the path forward, or backward. You can use f and b for short. If you use: #path save f AtoB you can execute the saved path using: $AtoB.
space
Example: #path new;n;n;n;e;e;e;#path save backward return;$return
#path {load} {variable}
space
This command will load any given variable as a path, and doesn't necesarily need to be movement related.
space
#path {run} {delay}
space
For this command to work you must have created or loaded a path. Upon execution all commands in your path are removed and executed at once, unless you provide the optional delay argument to delay execution between each command with the given floating point number of seconds.
space
Example: #path run 0.5
#path {walk} {forward|backward}
space
For this command to work you must have created or loaded a path. Upon execution the next command in your path queue is removed and executed. If the end of your path is reached this triggers the END OF PATH event.
space
Example: #tick {slowwalk} {#walk f} {0.5};#event {END OF PATH} {#untick slowwalk}