Top

Simple anti proxy


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  7.0 (of 2 scores)
Date Added  May 22, 2005
Last Updated  Sep 04, 2008

Introduction

Just a simple code to prevent proxies from ClonesX.

Grab the Code

;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
}

Comments

  (5)  RSS
Corne
Comments: 69
 
mIRC Snippet:  Simple anti proxy
Posted on May 22, 2005 1:03 pm
I think there should be 'mode $chan +b $nick' instead of 'pushmode $chan +b $nick'
Chaz
Comments: 6
 
mIRC Snippet:  Simple anti proxy
Posted on May 22, 2005 1:16 pm
mode would be ban each nick individually, on a new line, it would take longer, if 30 clones come, the bot may flood out trying to do 30 lines, where as pushmode can limit that to 30/6 lines
Corne
Comments: 69
 
mIRC Snippet:  Simple anti proxy
Posted on May 22, 2005 1:22 pm
I pasted your code in my remote then I opend my server and connected few clones and changed their nicknames to somenicknames which were ending 4 numbers. I changed #chan to my channel and then I joined the clones and I get this: PUSHMODE Unknown command
Chaz
Comments: 6
 
mIRC Snippet:  Simple anti proxy
Posted on May 22, 2005 1:53 pm
you need to download pushmode, http://www.xs4all.nl/~wiebeson/mirc/pushmode.txt - then load it in your remote
splatted
Comments: 42
 
mIRC Snippet:  Simple anti proxy
Posted on May 23, 2005 1:45 am
hmm.. had you written pushmode as well, I would have given you a 10 as it's essentially the engine behind your snippet. (although some people don't count under 5 lines as being a snippet)

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom