This should work. Place a file.txt in your $mircdir (//echo -a $mircdir) with the format:

nick1 password1
nick2 password2

Then add these two events to your Remote script file. It's import that the !op even comes first.
Code:
on *:TEXT:!op *:?:{
  if ($me !isop #MY_CHAN) .msg $nick Sorry, but I am current not opped in #MY_CHAN so I cannot give anyone operator mode.
  elseif ($read(file.txt,sn,$2) == $null) .msg $nick Sorry, but that nickname is not familiar to me.
  elseif ($read(file.txt,sn,$2) !=== $3) .msg $nick Sorry, but that password is not correct.
  else { .msg $nick Match found, you are now an operator! | mode #MY_CHAN +o $nick }
  close -m $nick
}
on *:TEXT:*:?:{ .msg $nick Do not PM me, use the channel instead. | close -m $nick }

Edit: corrected some mistakes (again -.-).

Last edited by 5618; 21/04/11 03:12 PM.