Well, I have a IRC script called Inivsion, where it works.
Here is the code they have:

Under on TEXT

if (01 isin $1-) {
echo $chan $timestamp < $+ $iif($nick isop $chan,$r.glob(Nick.Colors,Color.1),$iif($nick ishop $chan,$r.glob(Nick.Colors,Color.2),$iif($nick isvo $chan,$r.glob(Nick.Colors,Color.3),$r.glob(Nick.Colors,Color.0)))) $+ $nick $+ > $visufix($1-)
halt
}

where the visufix alias is:

Visufix {
if ($colour(back) == 0) {
return $replace($1-,00,01,15,14,08,07,8,07,09,03,9,03,11,10,13,06)
}
if ($colour(back) == 1) {
return $replace($1-,01,00,07,08,7,08,03,09,3,09,10,11,06,13,6,13,2,12,02,12,5,04,05,04)
}
}

But if I put that into my code, it doesnt work. Anyone know why? Can someone figure out what colors i have to have for it to work?

THX