I am a IRCop on a server and run a game script on a large channel. I want to check if a nick is registered (identified) before the game will respond to users.
What is the best way to determine if a nick is registered? I know when you /whois nick, raw 307 states when they are registered and also /ns status nick returns if the nick is registered. Are there any other methods that I can use? How can I put this in an alias that will be used as an identifier (if ($registered.nick($nick) == $true) ... )

thanks!