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!

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.


Sign in to comment.
Jethro   -  Nov 11, 2010

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

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

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.

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.

Arch   -  Nov 11, 2010

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

_Teen_   -  Nov 11, 2010

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

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.