I want speedwalk to work so that it only sends the next move in the sequence when it recognizes a new room has been entered. I can write a regexp that catches new room titles for the MUD, what I want to do now is to get the speedwalker to wait for the trigger that confirms that a new room has been entered before sending the next speedwalk direction. Is there a simple way to do this?
Registering a callback for speedwalk moves
Posted by BabbleOn on Wed 30 Jun 2010 07:12 AM — 3 posts, 13,861 views.
I think the simplest way would be to turn the speedwalk into a list of directions (there is a function to do that) and instead of using the automatic speedwalking, simply pull out the next item from the speedwalk list when you enter a new room.
That converts a speedwalk into a string with newlines between each direction. So you could break that up at newlines, and send them one at a time (removing the first one each time).
EvaluateSpeedwalk
The documentation for the EvaluateSpeedwalk script function is available online. It is also in the MUSHclient help file.
That converts a speedwalk into a string with newlines between each direction. So you could break that up at newlines, and send them one at a time (removing the first one each time).
This plugin addresses a lot of these issues:
Please see the forum thread: http://gammon.com.au/forum/?id=6008.