And just for the fun of playing with /echo switches:

Code:
on ^*:text:*:#: {
  haltdef
  echo -ti2lbfmr $chan $+(<, $iif($left($nick($chan, $nick).pnick, 1) isin $prefix, $v1), $nick, >) $1-
}