Skip to content
MSN

Passport Flood Protection

A TG007 community discussion started by D3xter.

Discussion 9 posts
Page 1 of 1
Open
Topic #4131 · 9 published posts · 1,060 views
Hi all i nedd to code to protect me Chat group for passport flood thanks
Edited Jul 16, 2005 12:10 PM by OZZY_10â„¢

;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

Edited Jul 16, 2005 8:31 AM by The Gate Keeper

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.

The Gate Keeper somthing you help me whit code of knock flood thanks

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

Edited Jul 16, 2005 8:30 AM by The Gate Keeper
Thanks The Gate Keeper

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

 

 

you add these codes to a new remote [hold alt+r], then file new, but you shouldn't need a flood protection code in hybrid as hybrid already has one. And this code works for both group and subscription rooms.

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.