Try this (untested):

Code:
ON *:INPUT:#:{
  if (($left($1,1) == $readini(mirc.ini,text,commandchar)) && (!$ctrlenter) || ($active == Status Window)) return
  var %text = $1-
  if (%cotalk) {
    if ($left($1-,1) isnum) {
      var %text = $+($chr(3),$r(1,15),$chr(32),$1-,$chr(3))
    } 
    else {
      var %text = $+($chr(3),$r(1,15),$1-,$chr(3))
    }
  }
  echo -t # 4[15 $+ $me $+ 4]4 %text
  .msg # %text
  haltdef
}


Keep your alias as-is.

Btw, look at how I did the $+( ) parts. The reason you would use $+( ) is to avoid a lot of $+'s between different things that you want combined.


Invision Support
#Invision on irc.irchighway.net