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


Joined: 01 May 2005
Posts: 1

PostPosted: Sun May 01, 2005 11:33 am   

#gauge command
 
Im very new at programming and i cant get the #gauge command to work on zmud.

I want it to trigger on my prompt, which is:
(Hp:242/242 - Sp:74/74 - XExp:1205283 - Coins:7055)

Right now the trigger is set to:
#GAUGE hp "hp" @hp @maxhp (@maxhp/3) "" "green" "red"

I'm not sure if I'm entering the pattern to trigger right or what.

Thanks
_________________
Man in white: Who...who's there?
Stouie: It's a boy..*zap*
Reply with quote
Maelstrom
Apprentice


Joined: 10 Feb 2005
Posts: 158

PostPosted: Mon May 02, 2005 1:47 am   
 
#GAUGE and #TRIGGER are two different things. Looks like the guage is correct though so you just need a trigger to detect your prompt and set some variables...

#TRIGGER {^~(Hp:&hp/&maxhp} {}
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