if (($nick ishop $chan || $nick isop $chan) && $2 != $me) {
And I\'d use /ban -k to combine the ban and the kick together.
Edit: hmm...last seen September 2007