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
Darkwytch
Novice


Joined: 20 Feb 2004
Posts: 41
Location: USA

PostPosted: Mon Jul 18, 2005 5:52 pm   

help with trigger please.
 
What I would like to do is... spell remove the furr on a bear.. if it removes the furr.. it wil continue to kill and finish spelling up... if it doesnt.. then it needs to try and remove furr again....

I tried settting it up. but it doesnt work right and I dont know what im doing wrong.. can someone help me please?

#TRIGGER {^*A big fluffy bear.} {
remove fur bear
#IF {The furr falls to the gound.} {
#IF {You fumble your spell.} {remove fur bear}
#WAIT 4000
kill bear
#WAIT 3000
cast spell here
#WAIT 3000
cast another spell here
#WAIT 3000
}
Reply with quote
Maelstrom
Apprentice


Joined: 10 Feb 2005
Posts: 158

PostPosted: Mon Jul 18, 2005 7:56 pm   
 
Remove the #IFs. These need to be seperate triggers.

#VARIABLE {castingfur} {0}
#TRIGGER {^*A big fluffy bear.} {remove fur bear;#VAR castingfur {1}}
#TRIGGER {The furr falls to the gound.} {#IF @castingfur=1 {kill bear;#VAR castingfur {0}}}
#TRIGGER {You fumble your spell.} {#IF @castingfur=1 {remove fur bear}}
Reply with quote
Darkwytch
Novice


Joined: 20 Feb 2004
Posts: 41
Location: USA

PostPosted: Mon Jul 18, 2005 8:06 pm   
 
what about the rest of the spells??
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