mob/verb/say(msg as text)
if(!msg)
..()
else
if(!usr.fcolor)
world <<"[usr]: [msg]"
if(usr.fcolor == "red")
world <<"[usr]: [msg]"
if(usr.fcolor == "blue")
world <<"[usr]: [msg]"
if(usr.fcolor == "green")
world <<"[usr]: [msg]"
if(usr.fcolor == "black")
world <<"[usr]: [msg]"
if(usr.fcolor == "orange")
world <<"[usr]: [msg]"
if(usr.fcolor == "brown")
world <<"[usr]: [msg]"
mob/verb/Select_Font_Color()
set category = "Settings"
alert("Pick A font color")
switch(input("What color do you want?","") in list ("red", "blue","green","black","orange","brown"))
if("red")
usr.fcolor = "red"
if("blue")
usr.fcolor = "blue"
if("green")
usr.fcolor = "green"
if("black")
usr.fcolor = "black"
if("orange")
usr.fcolor = "orange"
if("brown")
usr.fcolor = "brown"
the orange/brown colors don't show up in DS..why?
ID:177940
Jul 11 2002, 3:52 am
|
|
Please close your HTML tags, or put your code in a <DM> tag.
The reason these colors don't show is that you're calling them by name. Web browsers generally support a long list of colors by name, but I've never considered this "safe". DM obviously doesn't support nearly as many colors. Instead, try using color codes in the form #RRGGBB with hexadecimal numbers. Orange might be #FF8000, for instance, while brown could be #A06020.
Lummox JR