run command should append move commands to input queue
Currently, the run command just runs doMove over the entire set of commands in a tight loop, ignoring the return value. It should be implemented as a 'busy' command that acts as if the user had entered the moves manually, except it breaks early if a move fails or on the 'stop' command.
Bonus points: support diagonals and 'enter'ing things.
Comments (4)
-
-
repo owner Other MUDs that have
run
command just spam it in and if there's a wall in the way, will attempt to headbang through it. We can do better, of course -- cancel and print remainder.The question is motivation -- do we want to bother? For me, the
run
command is for mapwalking, and the maps are generated with GMCP. There's no big point in better error handling in this scenario. -
reporter Ported this bug to github, it can be closed here.
-
reporter - changed status to resolved
ported to github
- Log in to comment
Or parse semicolons then do like run ne e e; enter barrel; drink room