Auto rejoin ban *updated*
Platform: mIRC
Published May 24, 2009
Updated Jul 01, 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