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
Stowslee
Wanderer


Joined: 20 Apr 2008
Posts: 69
Location: Watervliet, NY

PostPosted: Tue Oct 04, 2011 7:50 am   

Multi-State Trigger Issue
 
Currently trying to figure out multi-state triggers, never having used them before. From what I can tell, this should work. However it fails to change the variable upon receiving the 2nd trigger. I am sure this must be something simple I am missing.

Code:
<trigger priority="830" id="83">
  <pattern>^You eat a tongue slice.$</pattern>
  <trigger>
    <pattern>^You suddenly feel incapable of falling asleep.$</pattern>
    <value>Insomnia = 1</value>
  </trigger>
</trigger>


This is the text received from the MUD:

Code:
H:105% {4552/4309} M:105% {2711/2568} B:59% {15695/26300} Exp:73% {sd} {eb} --> Time: Night <--eat tongue
You eat a tongue slice.
You suddenly feel incapable of falling asleep.
H:105% {4552/4309} M:105% {2711/2568} B:59% {15695/26300} Exp:73% {sd} {eb} --> Time: Night <--
Reply with quote
Stowslee
Wanderer


Joined: 20 Apr 2008
Posts: 69
Location: Watervliet, NY

PostPosted: Tue Oct 04, 2011 7:56 am   
 
Spoke too soon, found another trigger that was in conflict.
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