Rejoin after Ban Lift

By LuminolBlue on Dec 13, 2011

A very good friend of mine wrote this script for me, so all credit goes to him! This is not a revenge script but much more useful. The purpose of this script is to check every 10 seconds if a ban against you has been lifted on a particular channel. Once the ban has been lifted, all timers halt, and you will be auto joined to said channel. This is most useful if you're AFK and can't manually rejoin a channel after being (accidentially) kick/banned.

raw 474:*: {
  if ( !$timer($2) ) {
    ;echo -e * Will attempt to rejoin $2 in 10s...
    .timerunban [ $+ [ $2 ] ] 1 10 sf.join $2
  }
  else {
    ;echo -e * Still banned from $2 $+ , retrying in 10s... ("/timer [ $+ [ $2 ] ]" off to stop)
    haltdef
  }
}
alias sf.join {
  ;echo -ase  * Attempting to rejoin $1 (banned...)
  join $1
}

Comments

Sign in to comment.
blackvenomm666   -  Feb 25, 2012

or you can get a proxy. or change your ip go in and unban yourself

 Respond  
  -  Feb 25, 2012

you cant remove bans unless your op lvl overrides the ban hence why would you need to worry about removing the ban.

if you can not join back then the likely chance that you can remove the ban is slim unless the server you are on is set up to do so

 Respond  
chachin   -  Feb 25, 2012

on 1:Ban:#: { if ($ban iswn $address($me,5)) .mode $chan -b $banmask }

 Respond  
chachin   -  Feb 25, 2012

uh, you cant /mode in a channel that you were kicked from

 Respond  
  -  Feb 25, 2012
on *:RAWMODE:#: {
if ($1 == +b && $2 == $me)  { .timer 1 10 mode # -b $me $+ !*@* }
}

this would run the timer how ever, if your banned sorry to say it would be a fail unless you were listed as op and the server lets your op over ride the ban in place, other wise your sol,

 Respond  
chachin   -  Feb 25, 2012

hmmm cool concept. but i really want a script that "on mode +b $me then kick $m" i will unban myself 10 seconds later if if i dont have ops then do nothing.

 Respond  
blackvenomm666   -  Dec 17, 2011

maki people miss things sometimes no one is perfect but he is right jeth it'll go everytime it sees raw 474

 Respond  
  -  Dec 17, 2011

it will run every time raw 474 is sent, otherwise cuz you will be in the room no need to run again, pretty basic Jethro would think you of all people would see this.

 Respond  
Jethro   -  Dec 16, 2011

keep tryingThe thing is, Maki, that timer will only run once in 3 seconds and then stops.

 Respond  
  -  Dec 16, 2011
raw 474:*: { .timer 1 3 JOIN $2 } 

this timer is about right to not flood out but keep trying at a fast rate and less code and no echo LOL 3 am tired dont mind me LOL

 Respond  
xdesoto   -  Dec 14, 2011

I would take out the echos' just because it'll flood if it's a perm ban.
Or maybe have it try a max of 10 times or what not then halt all together.

 Respond  
blackvenomm666   -  Dec 13, 2011

then you might wanna rename it
Auto Unban and Rejoin Channel
^^^ auto unban makes it seem like the script is going to unban you

 Respond  
LuminolBlue   -  Dec 13, 2011

@blackvenomm666: The script isn't designed to unban you. It checks to see if you've been unbanned from a channel; hence the timer.

 Respond  
blackvenomm666   -  Dec 13, 2011

im not seeing where it unbans you

 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.