Code:
on ^*:ACTION:*:*: {
  if ($regex($1-,/(\t)/g)) { 
    echo -amt < $+ $nick $+ > $replace($strip($1-),$regml(1),$chr(32) $chr(2) $chr(32) $chr(2) $chr(32)))
    haltdef 
  }
}

should solve the "/me" problem you had.