TinTin++ Mud Client Manual
Speedwalk
space
Speedwalking allows you to type multiple directions not separated by semicolons, and now it lets you prefix a direction with a number, to signify how many times to go that direction. You can turn it on/off with #config.
space
Example: 2s5w3s3w2nw
space
Without speedwalk, you have to type: s;s;w;w;w;w;w;s;s;s;w;w;w;n;n;w
space
If you want to use .2s5w3s3w2nw to execute speedwalks you can try the following script.
space
Example:
#alias {.%0}
{
        #local cnt {};
        #local char {};

        #parse {%0} {char}
        {
                #if {"$char" >= "0" && "$char" <= "9"}
                {
                        #var cnt $cnt$char
                };
                #elseif {"$cnt" == ""}
                {
                        $char
                };
                #else
                {
                        #loop $cnt 1 cnt
                        {
                                $char
                        };
                        #var cnt {}
                }
        }
}
	
space
See also: Alias, Cursor, History, Keypad, Macro and Tab.
space