I did a search on this and didn't turn up anything, so...

I want to write a script that'll replace text in the channel. I've gotten it working for other people, but not for any test I've input myself.

I want the output to look like this:

Me > My message

This is the code I have for other users (nothing too complicated, I'm still learning... haven't touched mIRC scripting for a few years :S):

Code:
on *:TEXT:*:#:{
  echo $chan  $+ $cnick($nick).color $+ $nick $+  > $1-
  haltdef
}


Any ideas?