i dont know which Flags do u use for IRCops on your server, but most of servers use +o for Globals and +O for locals
so
On *:Input:#:{
if (/* iswm $left($1,1)) && ($ctrlenter) || ($inpaste) { return }
if (O isincs $usermode) { commands }
}
the $ctrlenter and $inpaste will prevent it run the command if the user press ctrl+enter, or its a ctrl+v action (inpaste)
by the way the if (O isincs $usermode) will check if you have IRCop status to do it