Anyways, with
if ($1 == xrem) { msg x remuser # = $+ $2 $3- $4- | HALT }
You have $2 $3- $4-, so it'll screw up.