on *:op:#: { if ($opnick == $me) inc %opcount | msg # Thanks for the Op $nick $+ ! I have been Opped %opcount times!
on *:help:#: { if ($hnick == $me) inc %hcount | msg # Thanks for the Halfop $nick $+ ! I have been Halfopped %hcount times!
on *:voice:#: { if ($vnick == $me) inc %vcount | msg # Thanks for the Voice $nick $+ ! I have been Voiced %vcount times!
This is the most cleanest code, You don\'t need \"else\" if the only thing it does is halt\'s - it does by itself and mIRC has to read more for nothing. Hope You get it :)