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


Joined: 04 Aug 2003
Posts: 1

PostPosted: Mon Aug 04, 2003 9:46 am   

Trigger Concern
 
I'm using an old test version (5.55), and running low on days. However, before I purchase, I'd like to see if Zmud can pull something off for me. I'm trying to create an alias that will accept
"Hmmmm. Why is everything so complicated to figure out?(newline)"
but will NOT except
"Hmmm. Why is everything so complicated to figure out?(Any number of spaces/tabs)".
I've tried a few things, such as
"Hmmmm. Why is everything so difficult to figure out~??{^%s}",
I even tried just having
"Hmmmm. Why is everything so difficult to figure out?"
and having it check to see if any number of whitespaces followed inside the trigger, however, it didn't seem to work correctly. I believe I had this as the If statement in the trigger
#IF %ends(%trigger "%s") {#GAG} {eat goldenseal}
And this just gagged everything, including the one I wanted it to eat goldenseal on.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Aug 04, 2003 2:44 pm   
 
#TR {Hmmmm. Why is everything so complicated to figure out~?$} {eat goldenseal}

Did you want "complicated" or "difficult"?
Don't use #GAG while you're trying to debug a trigger. You can't debug it very well if you don't see what's triggering it.
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