HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

convert colors to text values other than with ifs?

08-03-2003, 03:34 AM#1
piRo-piOn
i.e. convert "yellow" to "|cffffcc00" in-game?
08-03-2003, 04:38 AM#2
Monkey
well...you could use a switch if they have that in WE
08-03-2003, 04:48 AM#3
dataangel
Go ahead and use ifs -- but put them inside a function that you can call over and over again. Then post it here and I'll add it to the function pack.
08-03-2003, 05:35 AM#4
piRo-piOn
the function thing is easy... just do if color = red set value = |cffff0000 and so on... i'm not going to delve into it now but maybe in the near futuire (no comp after today for two weeks)