Matcou, yes, I agree with you:
on @*:input:#:{ if ($regex($1,/(?:[+-][vhoaq])/)) { if ($2 !ison #) { echo 4 User is not currently in the channel. } else mode # $1- } }