|
Joined: Feb 2005
Posts: 344
Fjord artisan
|
OP
Fjord artisan
Joined: Feb 2005
Posts: 344 |
hi all, i've seen a script that uses multiple color pallets in mirc.ini. My questions is how to make those colors. I don't understand the colorcode that they use like this : 16777215,3618615,12087408,16744448,255,32764,65535,43008,9671424,16776960,16515072,16711935,8355711,16711808,8355711,13816530 can someone explain to me how those numbers turn out to be colors?
|
|
|
|
Joined: Feb 2006
Posts: 54
Babel fish
|
Babel fish
Joined: Feb 2006
Posts: 54 |
If you type //echo -a $color($rgb(16777215)) it makes sense
|
|
|
|
Joined: Feb 2005
Posts: 344
Fjord artisan
|
OP
Fjord artisan
Joined: Feb 2005
Posts: 344 |
the only thing i get is a black 1
|
|
|
|
Joined: Feb 2006
Posts: 54
Babel fish
|
Babel fish
Joined: Feb 2006
Posts: 54 |
well then try
//echo -a $rgb(3618615)
//echo -a $color(1) $color(2) $color(3) $color(4) $color(5)
Last edited by tso29; 23/02/06 09:19 PM.
|
|
|
|
Joined: Feb 2005
Posts: 344
Fjord artisan
|
OP
Fjord artisan
Joined: Feb 2005
Posts: 344 |
oke //echo -a $rgb(3618615) returns 55,55,55 the rgb colorcode. but how do I convert the rgb into the number that is in the pallet in mirc.ini? I have this colorcode in rgb: 194,136,216 it's a purple.
|
|
|
|
Joined: Feb 2006
Posts: 54
Babel fish
|
Babel fish
Joined: Feb 2006
Posts: 54 |
Well actuali you don't have to undersend how mirc deals with colors this is what you tring to understend : 16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530 and this is what its return:
mIRC Classic,0,15,4,5,2,3,3,3,3,3,3,12,5,7,6,1,3,2,3,5,1,0,1,0,1,15,6,0
and this is what you get:
//echo -a $color(whois) $color(notice) $color(join) $color(action)
|
|
|
|
|