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
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Mar 20, 2002 5:00 am   

Multiline Triggers?
 
#TRIGGER {^You are prepared to do the skill.$You try to bash X but fall flat on your face.$} {#ECHO bash skill}

You'll have to see what you can tie into
to distinguish the second line by itself
for your shielf fail.

TonDiening
Beta Upgrading to 6.26
Reply with quote
kognesty
Newbie


Joined: 08 Jan 2001
Posts: 8
Location: USA

PostPosted: Wed Mar 27, 2002 9:56 pm   
 
I've posted earlier on this very same issue. With the newest version of zMUD you can use trigger states to trigger only on a specific sucsession of patterns. I.E. when the first line is triggered a new trigger is turned on that matches the second line, but only when the first trigger is matched. Thus only those two lines in sucession with result in an action preformed. For specifics on syntax for this type of triggering, please read the help on trigger states and combining triggers into one trigger. I would suggest using this method and the method mentioned above and see which is to your liking (i.e. success of trigger to preform as desired and speedy-ness of zMUD to do it).
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Mar 28, 2002 8:45 am   
 
Kognesty,
You are referring to the beta version. The General forum is intended primarily for the public versions, and all questions are presumed to refer to the latest public version (6.16 at the moment) unless otherwise specified. Please refrain from suggesting solutions in this forum that will only work for beta users.

LightBulb
All scripts untested unless otherwise noted
Reply with quote
Darker
GURU


Joined: 24 Sep 2000
Posts: 1237
Location: USA

PostPosted: Thu Mar 28, 2002 6:41 pm   
 
Still, it's not a bad idea to mention what's possible in the latest beta.



zMUD 6 Online Help: All the power you'll ever need.
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