And that works? I was going to suggest ending the font color tag.

9 $1- 

Also, just for a tip. If the variable exists it is on, otherwise, if no variable it is off. Of course vice versa depending on your needs.

on 1:input:#avatarrp:{
if ($1 == /c) { $iif(%color,unset,set) %color $true }
elseif (!%color) { msg #avatarrp $1- | halt }
else { msg #avatarrp 9 $1-  | halt }
}

If I wanted for it to be green by default, I would make it so if (!%color) msg $chan 9 $1- .

Just some ideas. laugh