mIRC Home    About    Download    Register    News    Help

Print Thread
RGB in mIRC #83835 22/05/04 10:34 PM
Joined: Mar 2003
Posts: 21
N
Nanaki Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2003
Posts: 21
This thread is regarding the /color command... which is specified as usnig the syntax
Code:
/color <index> <rgb>
However, having tried to use this, I am a bit confused. For example, setting the rgb as 255,255,255 should surely return white, yet it returns red? I've tried without the commas, too.
Other examples include 0,255,0 returning black, when it should really be green, and 0,0,255 returning black as well, when it should be blue. Again, both of these have tried with and without commas, because mIRC's /help file doesn't specify whether they are needed.

Thanks in advance,
Nanaki.

Re: RGB in mIRC #83836 22/05/04 10:45 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
You should convert the r,g,b format into something mIRC can understand using $rgb()
ie.
//color 4 $rgb(100,200,50)


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Re: RGB in mIRC #83837 23/05/04 10:26 AM
Joined: Mar 2003
Posts: 21
N
Nanaki Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2003
Posts: 21
Thanks, man. Really helped.