Well basically I made this script because one day someone came into my chat. He has been a great user for 3 days so I assigned him SOP. I went to sleep and when I woke up I was banned from my own channel. I had to wait till one of my IRC admins signed in to unban me that that took a few hours. So I made this script that I like to call "The Untouchable/Unbanable Script."
Basically it will auto unban you if your address/name is banned by a bad admin. It will -a -o -h and send that user to the VOP list. It will also ban the admin that banned you. What if the person ban/kicks you? It will set timers to auto re-join on kick.
Just copy the snippet code and place it into your remote tab. Save the press ok.
Right click on the chat then goto "Untouchable by ReFuSeR" After that you will see the word "Untouchable" and next to that is "On" or "Off" make sure that it says "on" and after that... it should work. Any questions or suggestions? Post a comment or PM me.
-------------------------------------------UPDATES---------------------------------------------
New V3... Nothing really... I just took out some commands and also added it for access list.
#Untouchable off
on *:ban:#:{
if ($banmask iswm $address( $me,5 )) {
cs unban $chan $me
mode $chan -e $nick
mode # -aoh $str($nick $chr(32),3)
cs ban $chan $nick
cs akick $chan add $nick
mode $chan -e $nick
mode # -aoh $str($nick $chr(32),3)
mode $chan -e $nick
cs kick $chan $nick
cs kick $chan $nick
cs VOP $chan add $nick
cs VOP $chan add $nick
msg chanserv unban $chan
join $chan
msg chanserv op $chan
msg chanserv protect $chan
msg chanserv voice $chan
}
}
#Untouchable end
menu channel {
Untouchable by ReFuSeR
..Untouchable $chr(9) $iif($group(#Untouchable) == on, On, Off): $iif($group(#Untouchable) == on, .disable, .enable) #Untouchable
}
i think its fun if ppl try take my chan, the mirc i have scripted is unstopable...
ill paste a few lines for u....
is alot missing cos its my script... so wont add it all
;----------------------------------
;BAN PROTECTION
;----------------------------------
on *:BAN:#:{
set %bancounter START
if ($banmask iswm $address($me,5)) {
set %banmaskVAR $banmask
if ($nick == $me) { halt }
if ($nick == chanserv) { halt }
if (%Prot.ban == off) { halt }
if (%banaction == %action1 ) {
; NO ACTION
}
if (%banaction == %action7 ) {
if ($me ison $chan) {
.mode $chan -b $banmask
msg chanserv unban #
halt
}
}
if (%banaction == %action8 ) {
if ($me ison $chan) {
.mode $chan -b $banmask
.deprotect $chan $nick
.kick $chan $nick Don't Ban me
halt
}
}
if (%banaction == %action9 ) {
if ($me ison $chan) {
.mode $chan -b $banmask
.deprotect $chan $nick
.kick $chan $nick Don't Ban me
.ban $chan $nick
halt
}
}
if (%banaction == %action10 ) {
if ($nick ison #) {
if (%bancounter == START) {
msg chanserv deprotect # $nick
msg chanserv kick # $nick Don't BAN me!!!!!!!!
set %bancounter STOP
if ($me ison $chan) { msg chanserv unban # }
halt
}
}
}
if (%banaction == %action11 ) {
timerban 1 4 /msg chanserv unban # | msg chanserv Akick # ADD $address($nick,3) Don't BAN me!!!!!!!! | msg chanserv Akick # Enforce
halt
}
}
}
Update:
I have been testing and testing and testing this script... Trying every little bug known to IRC... Any kinda way that someone can get away with it and we found about 12 or 15 different ways someone can get out of it. I will try to fix these problems the best way I can in V2. Also... This script is more affective with a second connection running on the server.
Once I fix these little bugs I will release V2 today
"Hmmm, I have no idea what a "Access List" is. Can you explain? " Sure:
In your channel you have a access list or aop list, the access list is different becuase 1-3 means +v, 4 means +h, 5 means +o, 10 means +a, 9999 means +q, switching to the access list is easy type /cs set #you channel xop off. When you first make a channel it is set to aop as most people use, im not most people i use access list. When you add someone to the access list you type /cs access #youchannel add NickName (access level as shown above).
This script will work nicely for aop list but not for access list. There would be a way to add a "elseif (xop == off)" I'm not sure how to do that, most likely "elseif (xop == off)" is wrong.
Also when making your v2 DO NOT make a hole new script just edit and paste here.
Untouchable on
on *:ban:#:{
if ($banmask iswm $address( $me,5 )) {
cs unban $chan $me
mode $chan -e $nick
mode # -aoh $str($nick $chr(32),3)
cs ban $chan $nick
cs akick $chan add $nick
mode $chan -e $nick
mode # -aoh $str($nick $chr(32),3)
mode $chan -e $nick
cs kick $chan $nick
cs kick $chan $nick
cs voice $chan $nick
cs voice $chan $nick
msg chanserv unban $chan
join $chan
msg chanserv op $chan
msg chanserv protect $chan
msg chanserv voice $chan
}
}
Untouchable end
menu channel {
Untouchable by ReFuSeR
..Untouchable $chr(9) $iif($group(#Untouchable) == on, On, Off): $iif($group(#Untouchable) == on, .disable, .enable) #Untouchable
}
this is for access list