or you can do it like this if you dont want to use a bot
on *:input:*:{ if ($regex($1,/^[+-][qaovh]$/)) { mode # $1 $iif(!$2,$nick,$2) } }