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
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Tue Sep 11, 2007 6:39 pm   

Feature Request: trigger type "event"
 
Idea: A trigger type that fires when an event is raised that matches the pattern.

Goal: To beat out all those cheeky people who can just use Prompt in an MXP trigger.

Why it's better than what we've got now: Because you can add it as a state in a complex trigger, instead of using a normal event and enabling it and disabling it all the time (which admittedly works, but is a bit clunky).
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Sep 24, 2007 7:58 pm   
 
I'm not sure this would work how you want it. Trigger states are only tested when a new line of text is received from the MUD. So, your state wouldn't match when the event was raised.
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Fri Sep 28, 2007 5:11 pm   
 
What about "Expression" type patterns? They fire when variables change, even if there's no input from the game...
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Sep 28, 2007 5:44 pm   
 
Yes, that is true, and Expression triggers are handled completely separately from other trigger states, and don't necessarily work correctly when used in a multistate trigger. Same is true of MXP and GSL triggers that are executed outside of the main trigger routines.
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