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
kent
Beginner


Joined: 03 Apr 2006
Posts: 29

PostPosted: Sat Jun 22, 2013 5:08 pm   

escape loop
 
Trying to create an escape from loop when my action is completed

#var A {"They aren't here."}
#loo 1,5 {
#if (@A=0) {
cib gnome
#ALARM +4
}
}

cib = C 'Iceball'

Confused

Any idea or tips would be great.
Reply with quote
Petrograd
Novice


Joined: 08 Dec 2005
Posts: 35
Location: Sweden

PostPosted: Sun Jul 14, 2013 12:51 am   
 
I take it you get a message when your action is completed?

I'd have that message trigger a variable to change, and then use the variable to stop the loop.
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