on *:rawmode:#:{
if ($chan == #dmserv) { halt }
if ($nick != $me) {
if (($1 == +o) && ($2 == $me)) {
inc %op
msg $chan 3Thank you for 4Op3 $nick I have been Op4 %op 3time(s).
}
if (($1 == +h) && ($2 == $me)) {
inc %hop
msg $chan 3Thank you for Halfop3 $nick I have been Halfop $+ %hop $+ 3 time(s).
}
if (($1 == +v) && ($2 == $me)) {
inc %voice
msg $chan 3Thank you for 2Voice3 $nick I have been voiced2 %voice 3time(s).
}
if (($1 == -o) && ($2 == $me)) {
inc %deop
msg $chan 4NOOO Dont take my 12Op 4away. ='( I have been Deoped12 %deop 4time(s).
}
if (($1 == -h) && ($2 == $me)) {
inc %dehalfop
msg $chan 4NOOO Dont take my Halfop4 away. ='( I have been dehalfoped $+ %dehalfop $+ 4 time(s).
}
if (($1 == -v) && ($2 == $me)) {
inc %devoice
msg $chan 4NOOO Dont take my 2Voice 4away. ='( I have been devoiced2 %devoice 4time(s).
}
}
}