Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
mrmook
Beginner


Joined: 14 Jun 2003
Posts: 16
Location: USA

PostPosted: Thu May 13, 2004 7:54 pm   

Prompt isnt getting most RECENT info.
 
font=Courier New]
Ok I have a small problem and im having some troubles with 7.05 my earlier work with this trigger on this mud with 0 problems. Now the latest or most recent prompt is not giving values.. its the 2nd latest.

#TRIGGER {(*)/(*)hp (*)/(*)ma (*)/(*)mv (*)tnl > }
{
hpmin=%1
hpmax=%2
mamin=%3
mamax=%4
mvmin=%5
mvmax=%6
tnl=%7
#ST {%1/%2hp %3/%4ma %5/%6mv %7tnl}
}

if mud outputs:
1026/9816hp 300/5984ma 1000/2400mv -579tnl > l
The Temple Of Mota
yadda yadda yadda

[Exits: north south west up]
[........................] A janitor is walking around, cleaning up.
[....................S...] Hassan ,Guardian of Midgaard, stands ready to defend the realms.
9816/9816hp 5909/5984ma 2400/2400mv -579tnl >

hpmin=1026
hpmax=9816
mamin=300
mamax=5984
mvmin=1000
mvman=2400
tnl=-579

instead of everything being at full heal as it should be. this ALWAYS is the case.. never gets latest info always is one step behind.
all these values go to gauges and the gauges prompt for heals etc.. so you can imagine my problem. I get down to 2000 hp and prompt for a full heal and its 1 step behind.
[/font=Courier New]
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Thu May 13, 2004 8:03 pm   
 
It sounds like your trigger is triggering on new lines rather than on prompt. In the options tab for the trigger select 'Trigger on Prompt'.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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