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
necropsian
Beginner


Joined: 29 Jan 2002
Posts: 14
Location: USA

PostPosted: Sun May 19, 2002 12:17 am   

Color trigger for a drop in numbers
 
I was wondering if someone could help me with a color trigger. I want the gold value in my prompt to change color if the amount changes in anyway. My prompt looks like this: -=(1403hp)-(354mv)-(1033g)=-
Any help is greatly appreciated.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun May 19, 2002 2:25 am   
 
#VAR lastgold 0
#TR {(%d)g} {#IF (%1 <> @lastgold) {#CW red;#VAR lastgold %1}}


LightBulb
Vague questions get vague answers
Reply with quote
necropsian
Beginner


Joined: 29 Jan 2002
Posts: 14
Location: USA

PostPosted: Mon May 20, 2002 11:57 am   
 
Thanks!! This helps me tremendously, thank you very much. :)
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