hate those " unable to join channel (address is banned) " . well, this one solves your problems (if you have access high enough to unban yourself on that chan, of course :D )
raw 474:*: {
var %kbtxt $1-
var %t $0
var %i 1
while (%i <= %t) {
if $left($gettok(%kbtxt,%i,32),1) == $chr(35) {
.cs unban $gettok(%kbtxt,%i,32) $me
.timer 1 5 join $gettok(%kbtxt,%i,32)
}
inc %i
}
}
hey guys, I stopped scripting for mIRC ages ago, but this is what I've found in my remotes:
raw 474:*: {
var %i 1
while (%i <= $0) {
if $left($gettok($1-,%i,32),1) == $chr(35) { set %rw.chn $gettok($1-,%i,32),1 }
inc %i
}
echo -a Cannot join. You are banned in : $+ %rw.chn
if (!$hget(unable,%rw.chn)) {
.msg chanserv unban %rw.chn $me
.timer 1 5 join %rw.chn
hadd -m unable %rw.chn banned
}
haltdef
}
try it out and let me know if it works. I see it has added some loop prevention with hash tables so I guess it should do the trick.
OK! this snippet does work well! BUT!! if you don\'t have the access to cs unban yourself... it loops over, and over! trying to unban! ANYBODY! can you please tell me how to fix it from looping! i only need it to try to use chanserv to unban ONCE! or you end up having to disconnect your script just to turn it off! so can anybody past a added bit of scripting to stop it looping thanks.
ok. so, if I understand: \"have access to the unban command for the channel\" means that I have to use a computer with an IP that is not banned, on the channel I want to unabn myself from, and execute the script? (this can be done). but what do you mean by: \" unless you have chanserv on your network\"? and how can I have chanserv on my network? like a general question, what I am trying to do it is possible or not?
Hi! I am new to mIRC. Without any reason my address have been banned on my favorite channel. Can someone explain me please how can I use this script to rejoin the channel? (It is possible?) What do I have to change to the script, if the name of channel is, let\'s say #channel, and where do I put this script?