Rejoin When Kick and Ban

By Arch on Nov 11, 2010

When Someone Kick and Ban You, With Rejoin Snippet you can`t get into that channel, unless you use invite cmd; with this snippet you can re-invite yourself to that channel, sets mode -o and +b and kick the person who where kick and banned you!
Enjoy..

on 1:kick:#chan:{
  if ($knick == $me) {
    cs invite $chan
    .timer 1 5 .join $chan
    .mode $chan -o+b $nick $wildsite | kick $chan $nick %msg

  }
}

Note: if you wanna to this for just one channel, u must edit $chan to your favorite #channel.

Comments

Sign in to comment.
Jethro   -  Nov 11, 2010

I'd have to say this script should require some needed attention...by the look of it, it's got a good chance of failure.

 Respond  
blackvenomm666   -  Nov 11, 2010

should also put this is for ircd servers chatspace doesnt hve the cs command nor on chatspace once your out of a room like after a kick can you invite yourself into the room you must be on the channel to invite someone

 Respond  
Jethro   -  Nov 11, 2010

Where is the %msg var? About the change from $chan to #chan, the kick event already indicates the channel as specified. Last but not least, You have to make sure you're opped before demoding/kicking/banning the person upon reentry.

 Respond  
Gummo   -  Nov 11, 2010
u must edit $chan to your favorite #channel

Be sure to change $chan here to #chan or people will modify your code instead of what they're supposed to change.

 Respond  
Arch   -  Nov 11, 2010

You`re right, Sorry; I Just Pick ¨Visual Basic¨ wrong. now it fix.

 Respond  
_Teen_   -  Nov 11, 2010

i dont know how its Visual Basic language but its really looks like with mIRCscripting ._.

 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.