Code:
on *:TEXT:<nick &:#: {
  if (($nick == Nightmare) || ($nick == nick2)) {
    nick $2
  }
  else {
    notice $nick You do not have access to this command.
  }
}


You could add them to your user list.

To use the file idea...

Code:
on *:TEXT:<nick &:#: {
  if ($read(admins.txt,w,$nick) != $null) {
    nick $2
  }
  else {
    notice $nick You do not have access to this command.
  }
}


Add the nicks to admins.txt .. one nick per line.

~ Edit ~

I forgot to mention that I added the & wildcard to the matchtext.
* = any string of characters ; & = any one word ; ? = any one character

Last edited by RoCk; 17/05/07 08:37 PM.