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
demogorgon
Newbie


Joined: 10 Dec 2001
Posts: 5
Location: Andorra

PostPosted: Sat Dec 22, 2001 8:05 pm   

trigger states and a problem with em
 
The problem I have is as follows:

I want my trigger to fire on a line that the mud sends out, but NOT when a certain line afterwards comes on.
for example
#trigger state one: (a gargoyle attacks you) {heal up}
#trigger state two (the attack doesn't seem to have hurt you)

if state two would occur,, i wouldn't want the first trigger to fire.

but how do I do this?
thanks in advance

D.

P.S I'm using zmud 6.24
Reply with quote
Acaila
Apprentice


Joined: 30 Aug 2001
Posts: 187
Location: Netherlands

PostPosted: Sat Dec 22, 2001 11:28 pm   
 
You could try something like:

#TRIGGER {a gargoyle attacks you$(*)} {#IF ("%1" = "the attack doesn't seem to have hurt you") {#NOOP} {heal up}}

Acaila
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: Sun Dec 23, 2001 12:17 am   
 
States are only present in the Beta Versions. Please post in the Beta Forum. You must first fill out the application for access to the Beta Forum.

Thanks.

Iljhar
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