ID:175813
 
Hi, I have two questions about color in game. One is how do I get a black background in the text box. Two is how can i have it so when a certain race logs in (I have this working) they choose their skin color using rgb() proc. I have this so far.

skincolor()
if(usr.race == 2)
var/red = input("How much red in your skin?")
var/green = input("How much green in your skin?")
var/blue = input("How much blue in your skin?")
usr.icon += rgb(red,green,blue)


I have made the icon for the chara grey, then tried white, but nothing works. Any ideas?
I think instead of the usr.icon+ you want the Blend() look it up, just store their icon in a var and beldn the var and change their icon to the var.
To make your background in the text black use this:

client
script = "<STYLE>BODY {background: black; color: white}</STYLE>"

And yes, look up the blend proc and use that instead.
You can overlay differend obj that way and give them each an other rgb.

<font color=FF0000>~Fint~
In response to Magnus VI
Thank you both, this is going to help alot :)

Muska