The most easy way is using opers.txt and $read if the nick is into the .txt , also there are more other ways that you can do this like storing all operator nicknames into one global variable and use the if ($istok(%VARIABLE,$nick,32)) { do stuff } and the nicknames there must be stored like %variable Nick1 Nick2 .