What you want is a bot or a protection sometimes people us use eggdrops to do this. your saying you want the script to unban you if they kick your butt out then to re invite you back in. few questions...
1 are you the founder of the channel you are refering too
2 in your services setup are you using xop mode or not
3 what levels do you have set
4 if you donttrust the lamer oper then why op them
5 if you want it to unban then deop and reinvite you in order for you to keep them deopped it will have to remove them from the chanserv access.
6 here is some nickserv and chanserv commands that may help you
http://www.ircmadeasy.com/Misc.Services.Commands.htm
If you have found a script that kinda works use the /help command in Mirc to work your way through getting itto work the way you want it too