A simple script that tells you when you have been given access on a channel, it also keeps a record of how many times you have been given access on a channel.
When somebody gives you op, you should see a message in your active window like this:
[12:34:56] * Nickname has given you OP on #channel, you have been given OP 36 time(s).
on *:rawmode:#:{
if ($1 == +v) && ($2 == $me) { echo $active $timestamp *8 $nick has given you 9VOICE on $chan $+ , You have been given 9VOICE %voice time(s). | inc %voice 1 }
if ($1 == -v) && ($2 == $me) { echo $active $timestamp *8 $nick has taken your 9VOICE on $chan $+ , You have lost your 9VOICE Ãvoice time(s). | inc Ãvoice 1 }
if ($1 == +h) && ($2 == $me) { echo $active $timestamp *8 $nick has given you 7HALFOP on $chan $+ , You have been given 7HALFOP %halfop time(s). | inc %halfop 1 }
if ($1 == -h) && ($2 == $me) { echo $active $timestamp *8 $nick has taken your 7HALFOP on $chan $+ , You have lost your 7HALFOP Ãhalfop time(s). | inc Ãhalfop 1 }
if ($1 == +o) && ($2 == $me) { echo $active $timestamp *8 $nick has given you 11OP on $chan $+ , You have been given 11OP %op time(s). | inc %op 1 }
if ($1 == -o) && ($2 == $me) { echo $active $timestamp *8 $nick has taken your 11OP on $chan $+ , You have lost your 11OP Ãop time(s). | inc Ãop 1 }
if ($1 == +a) && ($2 == $me) { echo $active $timestamp *8 $nick has given you 4ADMIN on $chan $+ , You have been given 4ADMIN Âmin time(s). | inc Âmin 1 }
if ($1 == -a) && ($2 == $me) { echo $active $timestamp *8 $nick has taken your 4ADMIN on $chan $+ , You have lost your 4ADMIN Ãadmin time(s). | inc Ãadmin 1 }
if ($1 == +q) && ($2 == $me) { echo $active $timestamp *8 $nick has given you 14OWNER on $chan $+ , You have been given 14OWNER %owner time(s). | inc %owner 1 }
if ($1 == -q) && ($2 == $me) { echo $active $timestamp *8 $nick has taken your 14OWNER on $chan $+ , You have lost your 14OWNER Ãowner time(s). | inc Ãowner 1 }
}