also a note to that would be to ban the address FIRST in case the person you are kicking has an auto-join feature. If you would't ban the address, then the person you banned could just change their nickname and go right back in! So i would switch that .ban line with the .kick line and change the .ban line to: .mode # +b $address($nick,2). This will prevent the nickname that tried to ban you from entering even if they change their nickname.
although i do have a small problem with your on *:TEXT parts. The way you have it means that the commands would execute in a channel OR a query window. How can a bot give you Op in a query window? It's nothing major, just something thats not needed.
Attention!! I am through with mIRC. I think that there are better things that i could be doing..so im sorry for those of you who may have wanted to see Acronyms 2.0 or some other script made by me..anyways..maybe one day ill get on and finish all these scripts..so say goodbye to §hádów §ç®ìþt for now