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
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Fri May 30, 2008 1:15 am   

help! my script is broken in new version! =[
 
not sure how or when this happened, but for some reason, things aren't working anymore.... basically, they aren't seeing themobs in there anymore!

Code:
<trigger priority="510" trigontrig="false" newline="false" prompt="true" id="51">
  <pattern>({@sob_list})</pattern>
  <value>#addkey mob_list %db(@sob_list,%1) 1;#var bdetect 0;say i see you!</value>
</trigger>

<trigger priority="500" trigontrig="false" newline="false" prompt="true" id="50">
  <pattern>~[ (%d) ~] ({@gob_list})</pattern>
  <value>#addkey mob_list %db(@gob_list,%2) %1;#var bdetect 0;say i see you guys!!</value>
</trigger>

  <var name="gob_list" type="Record" id="287">female spirits smile at you and whisper to each other.=female|ancient spirits take you in with a glance.=old|spirits are cursed to walk this world forever.=tormented|servants still desire to serve Telgoran.=servant|priests traverse this plane, and others above.=priest</var>

  <var name="sob_list" type="Record" id="288">A phantom wears the ragged remains of its worship robe.=tormented|As ancient as time itself, this spirit stares at your soul.=old|Somehow, this female spirit still holds the beauty of her past life.=female|This spirit was once a slave to the god of Telgoran.=servant|A spirit, in the form of a regal priest, no longer leads others to his god.=priest</var>
  <var name="mob_list" type="Record" id="592">servant=0|female=0|tormented=0|priest=0|old=0</var>


my 'says' that i've got in the triggers, don't fire... so i'm assuming that there is something wrong with the trigger... but... there isn't. very confused. =[
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Fri May 30, 2008 1:44 am   
 
nevamind... got it....

needed "trigger on trigger" and "trigger on newline" checked... doh, dunno how they got 'untriggered'.....
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