I wrote a color script...One that would change the color of my text to green when /c is typed. Here is is:

ALIASES SECTION
Code:
/c {
  if (%color == on) { set %color off }
  if (%color == off) { set %color on }
} 


REMOTE SCRIPTS
Code:
 on 1:INPUT:#avatarrp: {
  if (%color == off) { /msg #avatarrp $1- | halt }
  if (%color == on) { /msg #avatarrp 9 $1- | halt }
}
 


And well...it's not working right...
It sometimes dosn't put any text at all...
Any ideas? Thanks.