Custom Colors and Info Line

Posted by Neurowiz on Sat 16 Nov 2002 07:06 PM — 2 posts, 13,305 views.

#0
I want to have the info line use custom colors I have set up. I want to basically be able to do this:

world.infocolour 1 '1 is the first custom color.

I would even like something that:

a = <get the custom color RGB for custom colour 1>
world.infocolour a


So far, no luck with either. Any suggestions?
Regards...
Australia Forum Administrator #1

See: Description of MUSHclient world function: world.CustomColourText . You can get the RGB codes for custom colours.

Then use world.RGBColourToName to convert that to a name, which you can pass down to InfoColour.