If I understand it correctly. It has to be $opnick
$nick refers to the person who gives out the +o
On me op won't work, as it will trigger the event on every user that's been opped.
And Chacha said "sorry" so I figured he miscalculated the use of his suggestion.