depends on what commands.. but an example:
Code:
on 1:OP:*: { echo $active $nick got op from $opnick in $chan }

$active is the channel that you have active.. change that to #channel if you only want it to be echoed to 1 channel.. $chan is the channel where the op took place..