Hey, I pulled the following script from a QuakeNet website, but I can't get it to work on EFNet. What is wrong..?
on *:text:operit:#: { userhost $nick | hadd -mz OperIT.Check $nick 5 }
raw 302:*: {
if ($regex($2,/^([^*=]+)(\*?)/)) var %nick = $regml(1), %oper = $regml(2)
if (!$hget(OperIT.Check,%nick)) return
if (%oper) {
mode # +o %nick
}
else {
say -a LOL! $nick tried to use "operit", and is no IRC Operator..everyone, point and laugh at $nick!
}
}
It is supposed to give channel mode +o to a IRCop if he writes "operit", and if user is not IRCop, well..point and laugh!

And second, I would like to request the script to only give +o in channels that I can define in a file or somewhere in the script. Like, only in #channel1 and channel 2, but not channel3 if I am op in all 3!
Thank you!