or just put in
on :input::{ if ($left($1,1) == /) || ($left($1,1) == !) { goto last } msg $active 9 $+ $1- }