Auto rejoin ban *updated*

By Renegade on May 24, 2009

I damn hate people who turn on their auto rejoin, 'OH GUYZ I CAN JOIN BACKZ IN LYK OMG 1 SECCOND'

Listen you're kicked for a reason, simple as that...

Oh, I'm pretty sure there's a cry baby error in here somewhere, have fun finding it.

This was THX1138's idea, I just stole it and tried remaking it.

Two version now.. mine and the original.

Original is better, mines prettier :D?

Please if you're gonna use this, take note.. Don't load them both up... numpties.

I didn't decide to make a new snippet entry, because it's the same code.

;#My version

#AutoRejoinKick off
on *:KICK:#: {
  if ($knick == $me) { halt }
  if ($knick isop $chan) || ($knick ishop $chan) { halt }
  else {
    set -u5 %rejoinnick $knick
  }
}

on *:JOIN:#:{
  if (%autorejoinkick) && ($me isop $chan) {
    if ($nick == %rejoinnick) {
      ban -ku60 $chan $nick 7Automatic 60 second ban (14Reason for ban 7:  14You were kicked for a reason! Don't join back so quickly!7)
    }
  }
}

#AutoRejoinKick end
menu Channel {
  -
  AutoRejoinKick %autorejoinkick $+
  .[On]:set %autorejoinkick On | .enable #AutoRejoinKick | echo -a 7>4Attention7< 14AutoRejoinBan is now 7ACTIVE
  .[Off]:set %autorejoinkick Off | .disable #AutoRejoinKick | echo -a 7>4Attention7< 14AutoRejoinBan is now 7INACTIVE
}

-------------------------------------------------------------------------------------------------

;#Original Version Below 
;#Made by THX1138 

#ajk on

on @*:kick:#:{ if ((auto-join !isin $1-) || ( $knick != $me )) &&
(($knick !isop $chan) || ($knick !ishop $chan)) { set -eu2 %ajk. [ $+
[ $address($knick,2) ] $+ [ $chan ] ] 1 } }

on @*:join:#:{ if (($nick !isop $chan) || ($nick !ishop $chan)) &&
($right(%ajk. [ $+ [ $address($nick,2) ] $+ [ $chan ] ],1) == 1) { ban
-ku120 $chan $nick 2 Turn auto-join on kick off! } }

#ajk end
Sign in to comment.
TehTDK   -  Jul 13, 2011

When this is turned on, is it then for ALL channels or does it need to be turned on pr channel?

 Respond  
zaiger   -  Dec 23, 2010

Oh my god serious IRC business. How dare you use an option that comes standard in the most widely used windows IRC client in the world! Kicks are signs of affection. If you don't want somebody in your channel then ban them, don't get all butthurt, because your kick is pointless.

 Respond  
Grant-   -  Aug 30, 2009

[quote]I damn hate people who turn on their auto rejoin, 'OH GUYZ I CAN JOIN BACKZ IN LYK OMG 1 SECCOND'

Listen you're kicked for a reason, simple as that...

Oh, I'm pretty sure there's a cry baby error in here somewhere, have fun finding it.[/quote] That's your fault if there's an error, as little as it is. And seeing you're a skiddie as well as your ignorance is getting you no where, i want you to start actually scripting. not making crappy three minute scripts. If you curious as to what i mean, you should go look at FordLawnmower's(sorry if i mis-spelled :<) scripts, amazing.. Go learn regsubex, I bet you'll have to look this up : /window -e @Hi - does what?

 Respond  
err0r007   -  Aug 21, 2009

@DMT Yes i understand what ban does.. what you failed to understand was my point. Kicking is no real punishment at all. Especially when auto rejoin is a tick a way. You are better off just warning them they will be banned if they continue. To me a kick of any kind is really pretty pointless without a ban to go with it ( everytime not just when they pop back in ) Considering so many ppl use mirc or a client that will auto rejoin the percentage of ppl where a kick would mean anything is so small that it's not worth just a kick with no ban. All you have really accomplished is more lines of useless kicks in a room. But that's just my opinion. However the code is useful to those that want that particular reaction so kudos for that

 Respond  
Renegade   -  Aug 21, 2009

1) If I'm kicked from a room, I have the social understanding to note that I'm not wanted there.

2) Not at all pointless, alot of people actually use a version of this now.

 Respond  
Grant-   -  Jul 23, 2009

you're too lazy to just re-join yourself? pointless.

 Respond  
xXLifelessxLoren__x   -  May 27, 2009

Rofl, welcome :D

 Respond  
Renegade   -  May 27, 2009

Thanks lolololren

 Respond  
xXLifelessxLoren__x   -  May 27, 2009

Nice Mikey :)

 Respond  
Renegade   -  May 26, 2009

Added original version :)

 Respond  
Renegade   -  May 25, 2009

@WorldDMT: Thanks for replying to Err0r007 lol.

@Err0r007: I dislike banning, I try to avoid it all ways possible, I honestly think a kick is enough punishment s: I just really dislike autorejoin lol

are you one of those people who gline people over breaking a rule even if they didn't know it was a rule? Not really s: I'm kind of known for being the one who breaks the rules, lol... but servers I have olines on, nah, I don't believe in IRCop's getting involved unless they must...

 Respond  
WorldDMT   -  May 25, 2009

@err0r007: u see "ban -ku60" u can change the 60 to any time u want (time in sec.)

 Respond  
err0r007   -  May 24, 2009

it's a nice script don't get me wrong but really why not just ban them for a small period of time.. a kick is really useless as a form of punishment nowadays. You are better off just auto giving a warning on something you would kick for if you aren't going to ban as well.

 Respond  
}{exer   -  May 24, 2009

Good Idea, its very usefull :))

 Respond  
Jethro   -  May 24, 2009

@WorldDMT:Opps you're correct. I didn't carefully see to that when I copied Renegade's code and changed it a bit. Ty for the suggestion.

 Respond  
The_Almighty_Duelist   -  May 24, 2009

Listen you're kicked for a reason, simple as that...

are you one of those people who gline people over breaking a rule even if they didn't know it was a rule?

XD, j/k, this is not a bad script

maybe include a way to change the auto-kick time?

 Respond  
WorldDMT   -  May 24, 2009

hi

@jethro_ : if (%autorejoinkick == on) with eneble #group??????

u can use only one

for ban u have put 2 to ban the host (!@host)

u can do that if u want

on @*:KICK:#:if (($nick(#,$knick,vr)) && ($knick != $me)) set -u5 %rejoinnick $v1
on @*:JOIN:#:if ((%autorejoinkick) && ($nick == %rejoinnick)) ban -ku60 # $v1 2 7Automatic 60 second ban (14Reason for ban 7:  14You were kicked for a reason! Don't join back so quickly!7)

menu Channel {
  -
  AutoRejoinKick is $iif(%autorejoinkick,Active,Inactive)
  .$iif(%autorejoinkick,Inactive it,Active it):set %autorejoinkick $iif(%autorejoinkick,0,1) | echo -a 7>4Attention7< 14AutoRejoinBan is now 7 $+ $iif(%autorejoinkick,Active,Inactive)
}
 Respond  
Jethro   -  May 24, 2009

Oh, I'm pretty sure there's a cry baby error in here somewhere Yes, it is: if (%autorejoinkick == on) And the script can be constructed as such:

#AutoRejoinKick off
on @*:KICK:#:if ($knick != $me) && (!$nick(#,$knick,ho)) set -u5 %rejoinnick $knick
on @*:JOIN:#: {
  if (%autorejoinkick == on) && ($nick == %rejoinnick) {
    ban -ku60 # $v2 7Automatic 60 second ban (14Reason for ban 7:  14You were kicked for a reason! Don't join back so quickly!7)
  }
}
#AutoRejoinKick end
menu Channel {
  -
  AutoRejoinKick %autorejoinkick $+
  .[On]:set %autorejoinkick On | .enable #AutoRejoinKick | echo -a 7>4Attention7< 14AutoRejoinBan is now 7ACTIVE
  .[Off]:set %autorejoinkick Off | .disable #AutoRejoinKick | echo -a 7>4Attention7< 14AutoRejoinBan is now 7INACTIVE
}
 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.