unable to join channel (address is banned)

By ch1zra on Feb 23, 2005

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
  }
}

Comments

Sign in to comment.
gasak   -  Sep 24, 2012

Hi ch1zra, it did the trick if only you don't have OP on that channel. But the problem is, it keeps on looping "Cannot join. You are banned in : #chan" even though you have OP on that chan. Please advice. Thanks.

 Respond  
ch1zra   -  Sep 24, 2012

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.

 Respond  
Stewie1k94   -  Sep 24, 2012

Awesome... I love this. :D

 Respond  
gasak   -  Sep 24, 2012

Sorry to bump it again.. same problem with eXile.. it loops over, and over trying to unban when we dont have OP. So anyone could help? Trying Noutrious solution but didnt work. Thanks.

 Respond  
Hrki   -  Mar 24, 2011

Hvala kolego!

 Respond  
o3m4r   -  Oct 22, 2010

shit code..not work

 Respond  
pazmo5   -  Nov 28, 2009

hey guyz i suc at this computer stuff but can you help me i got banned from this game called miniplanet for doing nothing I talked to tthe moderator and shes said "ime terribly sorry for banning you it was a mistake" wtf rite so i was wandering if you guys could help me out if its ok

 Respond  
mifzal.mufthi   -  Nov 21, 2008

i'm not really sure what you guys are talking about. but i need help from the beginning. i was using channel 3x on whatnet.org and i guess i got banned. since then, i'm unable to join that channel. how do i get rid of it? i need step by step instructions. please help me.

 Respond  
napa182   -  Aug 23, 2007

spammer

 Respond  
guest598594   -  Aug 23, 2007

i thought you could do /cs unban #channel or it might be /cs unban #channel $me

 Respond  
richrunescaper   -  Aug 23, 2007

I LOVE YOU MAN i axadently banned myself from my own channel that im OP in (yes im an idiot) and it worked! thanks

 Respond  
Disturbed   -  Dec 16, 2006

wow... am i late -.-
o well still this script is useless.(no offense)
but i see absoultly no use in this.

 Respond  
Noutrious   -  Aug 08, 2006

Not sure, but try this:
raw 474:*: {
if ($me isop $gettok(%kbtxt,%i,32)) {
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
}
}

 Respond  
eXile   -  Aug 07, 2006

OK! it works... but if you don\'t have the access who can tell me how to stop this from looping! because it won\'t stop trying if you do not have the access, so you have to disconnect your script to stop it! you only need it to try to unban you once! can anyone help me fix that please!

 Respond  
eXile   -  Aug 07, 2006

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.

 Respond  
ch1zra   -  Mar 16, 2005

I\'m sorry for not explaining the usage, and the prerequisites for this (damn my english sux0rz :P).

 Respond  
Yoinx   -  Mar 02, 2005

If it responds and you have access to the unban feature you can unban yourself through the service without being on the channel.

 Respond  
Yoinx   -  Mar 02, 2005

no chanserv is a network server \"/msg chanserv help

 Respond  
neptun_   -  Mar 02, 2005

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?

 Respond  
Yoinx   -  Mar 02, 2005

you cant unless you have chanserv on your network AND have access to the unban command for the channel you want to unabn yourself from. If you were banned there was probably a reason. Maybe you can contact an op to see why you were banned. (this may just piss them off though)

 Respond  
neptun_   -  Mar 02, 2005

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?

 Respond  
ch1zra   -  Feb 26, 2005

yep...

 Respond  
PCTech   -  Feb 25, 2005

I\'ll give it a try! I assume there is no \'setup\', just put in remotes?

 Respond  
ch1zra   -  Feb 23, 2005

no need to say that if there is no chanserv, you just have to replace 8th line with appropriate command.. \"$gettok(%kbtxt,%i,32)\" is for channel, so don\'t mess with that one :)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.