mIRC Homepage
I know that's a really dumb question, but I'm just learning IRC (about 2 days now) and I'm writing a PUGServ type Bot, I've figured out hash tables and have most of it working but one thing I can't find much documentation on is how to tell if the initiator of a command is an op...

Reading through the FAQ on here I came up with this;
if ($level($address) >= 75) blah blah

But that isn't right, or it doesn't seem to work, can someone help me out? Thanks,
if they're an op on the channel ?
if ($nick isop #) { command(s) }

or

if ($ulevel >= 75) { command(s) }

or

on 75:TEXT:!command*:#: { command(s) }
Thanks! Damn that was fast too!

I figured it was something easy, I can't believe I missed that, anyway thanks for the help!
© mIRC Discussion Forums