|
ragautier Beginner
Joined: 11 Aug 2007 Posts: 29
|
Posted: Sun Aug 12, 2007 3:44 pm
How do I stop a runaway script |
I have a problem script that used to work in older zMUD's (back when the mapper was fast). Now, when the mapper lags in drawing the current room,
my script goes crazy, trying to move in directions unavailable, etc....
So, Im going to work on the script, BUT....
How do I stop it when it starts to go crazy on me?
I tried disabling it...no dice. |
|
|
|
Alcander Wanderer
Joined: 04 Aug 2001 Posts: 79 Location: USA
|
Posted: Sun Aug 12, 2007 4:21 pm |
Have you tried #abort 1? That usually works for me
|
|
|
|
ragautier Beginner
Joined: 11 Aug 2007 Posts: 29
|
Posted: Sun Aug 12, 2007 4:27 pm |
I tried typing that into the command line and it didn't do anything - I would need that to be in the running script, I think...
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sun Aug 12, 2007 5:32 pm |
You can stop a slow walk with the #stop command. You can't stop a fast walk because all the commands are sent at once. Make sure you're using #abort 1 and not just #abort - the former stops all scripts, the latter doesn't. If the script involves an alarm, also take a look at the #suspend command.
If none of this helps, we'll need more info on what script it is you're running. |
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Sun Aug 12, 2007 5:56 pm |
Have you tried pressing the Escape key on your keyboard - I think that might stop the running script?
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sun Aug 12, 2007 6:27 pm |
Did you try hitting ESC from the command line? Keyboard shortcuts
|
|
_________________ Asati di tempari! |
|
|
|
ragautier Beginner
Joined: 11 Aug 2007 Posts: 29
|
Posted: Tue Aug 14, 2007 2:25 pm #abort 1 does what I need |
Thanks for the help - #abort 1 does indeed let me escape the script.
I had had mixed luck with Esc working - but it may indeed been a case of 'Am I at the command line?' or clicked on one of the subwindows. |
|
|
|
|
|