Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
ragautier
Beginner


Joined: 11 Aug 2007
Posts: 29

PostPosted: 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.
Reply with quote
Alcander
Wanderer


Joined: 04 Aug 2001
Posts: 79
Location: USA

PostPosted: Sun Aug 12, 2007 4:21 pm   
 
Have you tried #abort 1? That usually works for me
Reply with quote
ragautier
Beginner


Joined: 11 Aug 2007
Posts: 29

PostPosted: 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...
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: 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.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: 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?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Aug 12, 2007 6:27 pm   
 
Did you try hitting ESC from the command line? Keyboard shortcuts
_________________
Asati di tempari!
Reply with quote
ragautier
Beginner


Joined: 11 Aug 2007
Posts: 29

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net