How to kill/stop stacked commands after an alias is fired?

Posted by Ganada on Sun 12 Jan 2020 09:53 PM — 4 posts, 17,359 views.

#0
Hi, I'd like to know if there is a way to stop/clear/kill stacked commands once an alias is fired.

For example, the alias 'Darkfield!' runs about 50 directions (n;n;n;n;s;s;s;s;e;e;e;e.....)
which usually takes up to ~5 seconds until I'm done moving.


However, sometimes there are mobs preemptively attack me while I'm moving.

I.e.) when a mob attacks me when I moved 4 times (n;n;n;n;) from 50 direction commands of 'Darkfield'.

In this case, my usual attack/skill triggers would fire when the mob attacks me, but they'll be only executed after running all 46 remaining commands from already fired alias 'Darkfield!' : (s;s;s;s;e;e;e;e;...).


Is there any way to kill/clear/stop the 46 remaining direction commands, so that the triggers to attack the mob can be fired once I'm attacked immediately?

Watching my character getting badly beaten, not being able to do anything before the remaining 46 'attempts' to move to somewhere, is really annoying.

Any insights would be highly appreciated.

Thanks!!
USA Global Moderator #1
MUSHclient sends those movement commands to the server all at once. After that, it's up to the server whether to let you interrupt them being performed. Depending on the game, disconnecting and then reconnecting may clear your action queue.
Australia Forum Administrator #2
What you need to do is use something like a "slow" speedwalk. This waits until you reach a room until it issues the next command, so they are not pre-sent to the MUD where they can't be cancelled. See here, for example:

https://www.gammon.com.au/forum/?id=6008
#3
Thanks a lot @Nick Gammon, @Fiendish for your swift replies!!!

I used to use Zmud for speedwalk just like the link provided, but I was not sure how to implement that in MUSHclient with Lua.

I'll go explore and give it a try.

Thanks again!!!