Eh, what if you aint op? You can use $istok() here aswell..
on *:text:*:#: { if ($istok(+v +h +o -v -h -o,$1,32)) && ($nick($chan,$me,o)) && ($2) && ($2 ison $chan) && ($2 != $me) { mode $chan $1 $2 } }
All checks you need for a script to work properly.