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


Joined: 26 Jun 2007
Posts: 6

PostPosted: Wed Jun 27, 2007 2:53 pm   

Trigger testing - How do you do it?
 
Does anyone know how to test triggers in CMUD? This was one of the most useful features in Zmud, cause a lot of times a trigger LOOKS like it should work fine to me, but doesnt...

I can't seem to find the option in Cmud (1.34).

Thanks
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Wed Jun 27, 2007 3:03 pm   
 
It's not in CMUD yet - still on the todo list. For now, either disable your trigger and create a new one with the same pattern that echoes something and #echo or #fire the sample text, or use the %match or %regex functions. You could also comment out the script of your trigger and replace it with an echo, then #echo or #fire the sample text.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Jun 27, 2007 5:53 pm   
 
Be sure to read all of the Sticky topic in this forum before posting. If you read the sticky topic called "Status of New Features in CMUD (Known Issues)" then it will give a link to Known Issues, which mentions that trigger testing is still on the to-do list.
Reply with quote
hogarius
Adept


Joined: 29 Jan 2003
Posts: 221
Location: islands.genesismuds.org

PostPosted: Fri Jun 29, 2007 11:13 pm   
 
I test triggers with...

#say "Put your trigger test text here."
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