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
jroper73
Novice


Joined: 03 Aug 2006
Posts: 30

PostPosted: Thu Aug 03, 2006 2:37 am   

How do you change the foregound color in a gauge?
 
I try out the following code, and it works. But the foreground is black and hard to see. I figured out how to set it to white in the interface. But I am a older tintin user who does everything in txt config files. How would I set the foreground color to white using only code?

Code:

#GAUGE hp "hp" @hp @maxhp (@maxhp/10) "" "blue" "red"


Asbestos
ncmud.org 9000
Reply with quote
jroper73
Novice


Joined: 03 Aug 2006
Posts: 30

PostPosted: Thu Aug 03, 2006 3:13 am   Figured it out
 
New I would figure it out as soon as I posted the question.

Code:

#GAUGE hp "hp" @hp @maxhp (@maxhp/10) "" "11,0" "12,0"


Number before the comma represents the background
number after the comma represents the foreground

donno the list of colors. but if someone is having the same issue, all they have to do is play around with it from here.

Asbestos
ncmud.org 9000
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