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
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. 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?
@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
@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...
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)
}
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
}