Correct with this :

Code:
on *:NICK: { 
  if (($me isop #myroom) && ($newnick ison #myroom) && (*dick* iswm $newnick)) {
    if ($newnick isop #myroom) { mode #myroom -o $newnick }
    mode #myroom +b *dick*!*@*
  }
}


NOTE: It checks if the newnick is operator if it is deop him first and then ban him


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-