There is no command higher than @op (isop). I'm not sure how mIRC treats the ~& prefixes, but I think that anyone with those modes is also @op'd, so $nick isop $chan should be true for them.

-genius_at_work