About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Tue Jan 15, 2008 1:07 pm   

Trigger states in the GUI?
 
Oh, almost forgot, the one thing that's probably going to drive me back to zmud for a while (unless i find out it's been hidden somewhere) is the lack of multiple states in the UI for editing a trigger. I never learnt the #cond syntax for adding all my multi-state trigs, and now i want to make some in cmud, well, it's not fun.

Edit by Fang: Split from here in an effort to keep that thread tidy.
_________________
The Drake Forestseer
Reply with quote
Leto
GURU


Joined: 27 Sep 2000
Posts: 90
Location: USA

PostPosted: Tue Jan 15, 2008 1:24 pm   
 
alluran wrote:
Oh, almost forgot, the one thing that's probably going to drive me back to zmud for a while (unless i find out it's been hidden somewhere) is the lack of multiple states in the UI for editing a trigger. I never learnt the #cond syntax for adding all my multi-state trigs, and now i want to make some in cmud, well, it's not fun.


Create your initial trigger normally. Then with that trigger selected check out the drop down list in the New button. You should see the option 'New Trigger State'.

Have fun!
Reply with quote
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Tue Jan 15, 2008 1:26 pm   
 
Aah, there we go, i vaguely recalled finding out how to do it way back in 1.34 or so, but it's been a while, and I thought perhaps it had been moved for later development or something :)
_________________
The Drake Forestseer
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Jan 15, 2008 2:35 pm   
 
Also in the original thread, you mention that "i can't make it expand wildcards within { and } anymore" - and that's true, but you can use a regex instead, espeically since you can use the GUI to convert an existing trigger to a regex.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Tue Jan 15, 2008 10:48 pm   
 
Ya, slowly but surely converting all my triggers to regexp, but zscript syntax was so much more convenient when you're trying to convert stuff inline. I could test it, but i just got to work, so does anyone know if i can set the trigger pattern to @prompRegexp and still have it fire as a regexp?
_________________
The Drake Forestseer
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Jan 15, 2008 10:50 pm   
 
You can use variables in a regex just as you would with a zScript pattern, yes.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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