Code:
on *:op:#: {
  if ((($opnick == $me) && ($nick != $me) && ($nick != ChanServ))) { 
    /echo -s You have been 12opped by $nick in $chan at $asctime(h:nn:ss) $+ .
  }
}


Works just fine, but when I have..

Code:
on *:op:#: {
  if ($opnick == me) {
    /echo $chan hi
  }
}


(Used ChanServ to op me).

That doesn't trigger, not even the echo..

The 2nd code, I added before the 1st code (if statement only in the same on op event). But the echo won't trigger even though it is first.