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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
patryn
Apprentice


Joined: 26 Sep 2001
Posts: 124

PostPosted: Fri Jan 14, 2005 2:31 am   

#abort and #abort 1
 
As i understand it #abort will abort all processing within the current block,
while #abort 1 will abort all processing currently going on.


I'd like to know, is there a way to prevent all processing within the current alias, or trigger ONLY?

for example.

Trigger1 calls Alias1, then it calls Alias2.

Within alias1, a condition is tested. #if 1 {#abort}

Now the problem im getting is, #abort will abort processing of the current block. which is the #if statement. It will continue processing everything after the #if statement within alias1.

If i use #abort 1, instead. It will abort everything. Which means alias2 will never get called.

I wish to ONLY abort alias1. Any ideas? (or am i just doing something wrong?)
_________________
That which does not kill us, makes us stronger.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Jan 14, 2005 6:46 pm   
 
I would recommend rewriting the script so that it doesn't rely on aborting portions of it.
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
Reply with quote
patryn
Apprentice


Joined: 26 Sep 2001
Posts: 124

PostPosted: Fri Jan 14, 2005 9:31 pm   
 
Aye, I'll do that.
It's just that long scripts look Soooo much cleaner with #abort.

Thanks :)
_________________
That which does not kill us, makes us stronger.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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