What about looping through every user in the channel and deopping them if they're an op?

Forgive me, I've been writing in VB too much lately and don't trust myself to write this correctly. The content in the code tags is NOT valid mIRC code, it's mostly pseudo-code.
Code:
x = 1
While (x <= $nick(#,0,o)) {
  mode # -o $nick(#,x,o)
inc x
}


I put the disclaimer because I'm not sure if it works, and it's been a long time since I've done mIRC scripting.

Last edited by bwr30060; 03/04/06 11:59 PM.