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


Joined: 16 Sep 2006
Posts: 5

PostPosted: Sun Sep 17, 2006 9:45 pm   

"Counter" trigger help.
 
Let's say I want a trigger to go off if something appears
on the screen three times (i.e. a red dragon is dead! RIP)
how would that work? Also, can triggers be grouped so that one
group can be turned off while leaving others on?

Cheers,
D.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Sep 17, 2006 10:39 pm   
 
Dacat, meet ZMud Classes. Oh, and his little kid brother Multi-state Triggers.

Classes allow you to group unlike items together. Multistate Triggers allow you to group triggers together in a very specific order:

class
alias
trigger
button
another trigger
end class

#trigger {pattern 1} {code 1}
#condition {pattern 2} {code 2}
#condition {pattern 3} {code 3}
#condition {pattern 4} {code 4}
_________________
EDIT: I didn't like my old signature
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