;Code by The Gate Keeper
on @*:JOIN:#: {
 set -u1 %ppf. [ $+ [ $right($chan,-1) ] ] $addtok(%ppf. [ $+ [ $right($chan,-1) ] ],$nick,32)
 var %l = $count(%ppf. [ $+ [ $right($chan,-1) ] ],$chr(32))
 if (%l > 3) { sockwrite -n msn.server. $+ $cid kick $chan $nick | return }
 if (%l == 3) {
  .raw access $chan add deny *!*@*$* 1
  .raw access $chan add deny >*!*@*$* 10
  .raw mode $chan -u
  sockwrite -n msn.server. $+ $cid kick $chan $replace(%ppf. [ $+ [ $right($chan,-1) ] ],$chr(32),$chr(44))
  .timerreknock 1 60 mode $!chr(35) $!+ $right($chan,-1) +u
 }
}
EDIT: made a few small modifications
change your group to PRIVATE (No one can view this group without first applying and being approved for membership by the manager)
then they will find it very hard to get anough passports in to flood you
My code does NOT have bugs. It just develops random features.
;Code by The Gate Keeper
raw KNOCK:*: {
 inc -u5 %knock. [ $+ [ $right($chan(1),-1) ] ]
 if (%knock. [ $+ [ $right($chan(1),-1) ] ] == 3) {
  mode $chan(1) -u
  .timerreknock 1 60 mode $!chr(35) $!+ $right($chan(1),-1) +u
 }
}
EDIT: i also modifed my above code to disable knocks and re-enable it 60 seconds later.
Nice job gate, is this code for group rooms or all? Another Q from a noob...where do I add this to my scipt?
Also Hybrid which I am using does not have a spec kicker....any help with that one 2? Thanks Boss
Kewl thanks boss. The flood killer in Guard Dog works...but the one in Hyrid as well as the knock kicker dont seem to work. I'm hoping with this new addin this will fix Hybrid. I use both bots in any room I own. I am still tweaking the flood settings on Guard Dog. I am on dsl and sometimes GD floods out even with the flood ticked on in mIRC. Any suggestions on what else under the flood I should turn on? What kind of #'s should I put in the boxes? And what else shoud I tick on under flood? Thanks again for your help.
Sign in to reply or start a new topic where your account has permission.