another sample using $iif
Code:
on ^*:kick:#:{
  if (!$window(@kick)) { window -el @kick Lucida Sans Unicode 14 }
  $iif($knick != $me,aline @kick You kicked $knick, aline @kick you were kicked by $nick)
  haltdef
}


the logic is the same, I used ctrl+r (reverse) which I think is what you want here instead of the color 0,1 (pluse the color0,1 would flop because of the comma, the workaround would be to put the color value in a var and use the var in the script line)