Or this...
on @*:input:#channel1,#channel2:if ($cmdbox) { ops $($1-,2) | halt }