referrencing therat's example:

Code:
on @:op:#mar-ops: {
  if ($nick == $me) { set %opped %opped $opnick }
}


See how it all fits together? if you have more if statements that you want to fire when you're the one who opped somebody you'd use (totally made up code):


Code:
on @:op:#mar-ops: {
  if ($nick == $me) {
    if ($nick == hello-there) { command1 }
    if ($me == Bossman) { msg # Bossman says know your role }
  }
}


Those who fail history are doomed to repeat it