mIRC Home    About    Download    Register    News    Help

Print Thread
#192795 10/01/08 01:45 PM
Joined: Jan 2008
Posts: 2
P
Prk Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
P
Joined: Jan 2008
Posts: 2
Can someone please code, a Join flood protection remote, ps: just join flood to be protected from botnet, and to function when a netsplit happened., thank you very much.
I've been searching for that from a long time, I would appreciate it.

Prk #192796 10/01/08 05:59 PM
Joined: Dec 2007
Posts: 61
P
PO3 Offline
Babel fish
Offline
Babel fish
P
Joined: Dec 2007
Posts: 61

Code:
on @!*:JOIN:#: {
  var %x = $numtok(%ppc. [ $+ [ $chan ] ],32)
  if (%x == 3) .raw kick $chan $nick :Flood Protection
  else set -eu3 %ppc. [ $+ [ $chan ] ] $addtok($nick,%ppc. [ $+ [ $chan ] ],32)
  if (%x == 2) {
    .raw access $chan add deny *!*@*$* 2 :Flood Protection
    .raw kick $chan $nick :Flood Protection
    .raw kick $chan $gettok(%ppc. [ $+ [ $chan ] ],1,32) :Flood Protection
    .raw kick $chan $gettok(%ppc. [ $+ [ $chan ] ],2,32) :Flood Protection
  }
}


is that any good ?


Link Copied to Clipboard