mIRC Homepage
Posted By: Adler mts - 02/11/03 01:14 PM
hi, i will script with mts (theme), but i dont know how i could change the color box with other colors.

Has anybody an idea, or. tutorial for me?
Posted By: pheonix Re: mts - 02/11/03 04:55 PM
ctrl+k -> right click a colour
Posted By: Collective Re: mts - 02/11/03 07:11 PM
That doesn't work for me, perhaps you meant alt+k?
Posted By: pheonix Re: mts - 02/11/03 07:21 PM
yes.
Posted By: cold Re: mts - 02/11/03 10:03 PM
From a script, you'd use the /color command ("/color <index> <RGB value>" - check mirc.hlp).

In case you don't know how to get an RGB value, you could use $rgb() for that, using the Red, Green and Blue values from the colour selection dialog (the one that appears when you right-click a colour box and define a custom colour).
Blue, for example, is R=0, G=0, B=255, which is $rgb(0,0,255), which returns 16711680. Supposing you wanted the colour number 0 to be blue, you'd either use "/color 0 $rgb(0,0,255)" or "/color 0 16711680".
Posted By: Adler Re: mts - 03/11/03 12:17 PM
nice thx cold, it works :-)
© mIRC Discussion Forums