Just a simple code to prevent proxies from ClonesX.
;Requires pushmode! You may want to add your own kick command, but ban is enough to stop the proxy from talking/changing nick/join/part
;http://www.xs4all.nl/~wiebeson/mirc/pushmode.txt Pushmode by wiebe
;pushes modes together ie: +bbbb nick1 nick2 nick3 nick4 instead of new lines
;matches anything with 4 numbers at the end of the nick
;which normally means less likely chance to flood out
;An example is:
;* x7544 has joined #channel
;* x8172 has joined #channel
;* a8945 has joined #channel
;* K8243 has joined #channel
;* t3893 has joined #channel
;* Z7262 has joined #channel
;* d5442 has joined #channel
;* C4572 has joined #channel
;* u7247 has joined #channel
;* L5474 has joined #channel
;* c5925 has joined #channel
;* Bot sets mode: +bbbbbb x7544 x8172 a8945 K8243 t3893 Z7262
;* Bot sets mode: +bbbbb d5442 C4572 u7247 L5474 c5925
;@ prefix so it only works if the bot is op on the channel...
;! prefix, so it doesn't kick the bot...
on !@*:JOIN:#chan:{
;checks for anything ending in 4 numbers, typically a proxy using clonesx
;you don't need to check the start, a nick is invalid with a numer at the start
if ($regex($nick,\d{4}$)) {
;pushes modes together so bot doesnt flood out
pushmode $chan +b $nick
;closing bracket for if...
}
;closing bracket
}
The same script using pushmode does the following:
;
; [18:25:11] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:11] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:11] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:11] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:11] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:11] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:11] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:11] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:11] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:12] AVERAGE ANTI FLOOD SCRIPT WITH PUSHMODE
; [18:25:12] dev-mirc sets mode: +bbbbbb !qgeqd@8V5Ry4.8vtU30.virtual !ihgkzu@8V5Ry4.8vtU30.virtual !dqqyex@8V5Ry4.8vtU30.virtual !qfzzq@8V5Ry4.8vtU30.virtual !alavec@8V5Ry4.8vtU30.virtual !avwy@8V5Ry4.8vtU30.virtual
; [18:25:13] dev-mirc sets mode: +bbbb !tqkukhp@8V5Ry4.8vtU30.virtual !xrvdohn@8V5Ry4.8vtU30.virtual !ujundvh@8V5Ry4.8vtU30.virtual !kid@8V5Ry4.8vtU30.virtual
;
where can i get this addon which will ban those who repeate the same
you need to download pushmode, http://www.xs4all.nl/~wiebeson/mirc/pushmode.txt - then load it in your remote
On @:text::#: { inc -u3 $+(%,txt,$chan,$1-) | if ($($+(%,txt,$chan,$1-),2) >= 3) { mode $chan +b $address($nick,2) } }
maybe this?