Skip to content
MSN

Passport Flood flood protection for groups

A TG007 community discussion started by loveerr0r123456.

Discussion 16 posts
Page 1 of 1
Open
Topic #5537 · 16 published posts · 1,495 views

i have passport flood protect commd but i want timer like 3 nick"id" join same time or left then room limit auto lock 1 mint or 10 people on chat room then set limit auto 13

Edited Dec 27, 2005 1:57 AM by Ozzy10

Yes put your group on appove only.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

; Channel limiter coded by X-FILE; 



on *:load:{ 
 echo -a * Channel limiter addon coded by X-FILE loaded. Please before you use this addon , read readme.txt . 
 echo -a * If you have any bug to report, send them via email to [email protected] . Thank you. 
 set %overlimit $$?="How many more numbers in the limit than there are users in the channel?" 
 echo -a * Overlimit set to  $+ %overlimit $+  $+ . 
} 
on *:unload:{ 
 unset %overlimit 
 unset %limit.users.* 
 unset %var.inc 
 echo -a * Unloaded. to load again read readme.txt . Thanks , Eri. www. 
} 
menu status,channel { 
 - 
 limiter 
 .set  overlimit:{ 
   set %overlimit $$?="New overlimit?" 
   echo -a * Overlimit set to  $+ %overlimit $+  $+ . 
 } 
 .- 
 .About://echo -a Channel Limiter addon  scripted by X-FILE . [email protected] 
 .unload:unload -rs  " $+ $script $+ " 
} 
alias call.limit.1 { 
 if ($1 == $null) { 
   echo -a * Error. Channel not specified. 
   halt 
 } 
 if ($1 != $null) { 
   if ($me isop %limit.users. [ $+ [ $1 ] ]) { 
     mode %limit.users. [ $+ [ $1 ] ] +l $calc($nick(%limit.users. [ $+ [ $1 ] ],0) + %overlimit) 
     unset %limit.users. [ $+ [ $1 ] ] 
     halt 
   } 
 } 
} 
on !*:part:#:{ 
 set %limit.users. [ $+ [ # ] ] # 
 .timer 1 3 call.limit.1 %limit.users. [ $+ [ # ] ] 
 halt 
} 
on *:kick:#:{ 
 if ($knick == $me) { 
   halt 
 } 
 if ($knick != $me) { 
   set %limit.users. [ $+ [ # ] ] # 
   .timer 1 3 call.limit.1 %limit.users. [ $+ [ # ] ] 
   halt 
 } 
} 
on *:quit:{ 
 %var.inc = 0 
 :loop 
 inc %var.inc 
 if ($comchan($nick,%var.inc) == $null) { 
   unset %var.inc 
   halt 
 } 
 if ($comchan($nick,%var.inc) != $null) { 
   set %limit.users. [ $+ [ $comchan($nick,%var.inc) ] ] $comchan($nick,%var.inc) 
   .timer 1 3 call.limit.1 %limit.users. [ $+ [ $comchan($nick,%var.inc) ] ] 
   goto loop 
 } 
} 
on !*:join:#:{ 
 set %limit.users. [ $+ [ # ] ] # 
 .timer 1 3 call.limit.1 %limit.users. [ $+ [ # ] ] 
 halt 
} 
on ^*:join:#:{ 
 if ($nick == $me) { 
   set %limit.users. [ $+ [ # ] ] # 
   .timer 1 3 call.limit.1 %limit.users. [ $+ [ # ] ] 
 } 
}

 

actualy i dont use it but i found this one on rumbaar may help u

Edited Dec 27, 2005 6:26 PM by samooh_2003

; Channel limiter coded by X-FILE; 

on *:load:{ 
 echo -a * Channel limiter addon coded by X-FILE loaded. Please before you use this addon , read readme.txt . 
 echo -a * If you have any bug to report, send them via email to [email protected] . Thank you. 
 set %overlimit $$?="How many more numbers in the limit than there are users in the channel?" 
 echo -a * Overlimit set to  $+ %overlimit $+  $+ . 
} 
on *:unload:{ 
 unset %overlimit 
 unset %limit.users.* 
 unset %var.inc 
 echo -a * Unloaded. to load again read readme.txt . Thanks , Eri. www. 
} 
menu status,channel { 
 - 
 limiter 
 .set  overlimit:{ 
   set %overlimit $$?="New overlimit?" 
   echo -a * Overlimit set to  $+ %overlimit $+  $+ . 
 } 
 .- 
 .About://echo -a Channel Limiter addon  scripted by X-FILE . [email protected] 
 .unload:unload -rs  " $+ $script $+ " 
} 
alias call.limit.1 { 
 if ($1 == $null) { 
   echo -a * Error. Channel not specified. 
   halt 
 } 
 if ($1 != $null) { 
   if ($me isop %limit.users. [ $+ [ $1 ] ]) { 
     mode %limit.users. [ $+ [ $1 ] ] +l $calc($nick(%limit.users. [ $+ [ $1 ] ],0) + %overlimit) 
     unset %limit.users. [ $+ [ $1 ] ] 
     halt 
   } 
 } 
} 
on !*:part:#:{ 
 set %limit.users. [ $+ [ # ] ] # 
 .timer 1 3 call.limit.1 %limit.users. [ $+ [ # ] ] 
 halt 
} 
on *:kick:#:{ 
 if ($knick == $me) { 
   halt 
 } 
 if ($knick != $me) { 
   set %limit.users. [ $+ [ # ] ] # 
   .timer 1 3 call.limit.1 %limit.users. [ $+ [ # ] ] 
   halt 
 } 
} 
on *:quit:{ 
 %var.inc = 0 
 :loop 
 inc %var.inc 
 if ($comchan($nick,%var.inc) == $null) { 
   unset %var.inc 
   halt 
 } 
 if ($comchan($nick,%var.inc) != $null) { 
   set %limit.users. [ $+ [ $comchan($nick,%var.inc) ] ] $comchan($nick,%var.inc) 
   .timer 1 3 call.limit.1 %limit.users. [ $+ [ $comchan($nick,%var.inc) ] ] 
   goto loop 
 } 
} 
on !*:join:#:{ 
 set %limit.users. [ $+ [ # ] ] # 
 .timer 1 3 call.limit.1 %limit.users. [ $+ [ # ] ] 
 halt 
} 
on ^*:join:#:{ 
 if ($nick == $me) { 
   set %limit.users. [ $+ [ # ] ] # 
   .timer 1 3 call.limit.1 %limit.users. [ $+ [ # ] ] 
 } 
}

 

actualy i dont use it but i found this one on rumbaar may help u

 

its not working see this error

 

load file

_______________________________________

* Unloaded. to load again read readme.txt . Thanks , Eri. www.

* Channel limiter addon coded by X-FILE loaded. Please before you use this addon , read readme.txt .

* If you have any bug to report, send them via email to [email protected] . Thank you.

* Overlimit set to 8.

_______________________________________

 

Error

 

______________________________________________

 

09 . 30 sherry20044 has joined the conversation. *!*648E2E3CF@GateKeeperPassport

* Error. Channel not specified.

 

:notworking:

okay try this 2

 

;This code by eXonyte will allow protection against all types of on JOIN Flood attacks (Passport or Guest_) 
;it works by dynamicaly setting the room maximum chatter size to +3 the current size only after 5 seconds 
;so this means only a maximum of 3 people can join at any given 5 seconds period, so keeping out flooders. 

menu channel { 
 Dynamic Room Limit Protection 
 .$iif($group(#limitprot) == on,$style(2),$style(0)) On: .enable #limitprot | echo -a 0,12Dynamic Limit Protection $+ 0,94 On 
 .$iif($group(#limitprot) == off,$style(2),$style(0)) Off: .disable #limitprot | echo -a 0,12Dynamic Limit Protection $+ 0,4 Off 
} 

#limitprot on 
on *:JOIN:*: { 
 if ($nick != $me) { 
   if ($calc($nick($chan,0) + 2) <= 100) { 
     .timer.limit 1 5 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 3) 
   } 
 } 
} 
on *:PART:*: { 
 if ($calc($nick($chan,0) + 2) <= 100) { 
   .timer.limit 1 3 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 2) 
 } 
} 
on *:KICK:*: { 
 if ($calc($nick($chan,0) + 2) <= 100) { 
   .timer.limit 1 3 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 2) 
 } 
} 
on *:MODE:#: { 
 if ($nick != $me) || ($nick !isowner $comchan($nick,1)) { 
   if ($calc($nick($chan,0) + 2) <= 100) .timer.limit 1 3 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 3) 
 } 
} 
#limitprot end 

;By eXonyte web site: http://exonyte.dyndns.org

okay try this 2

 

;This code by eXonyte will allow protection against all types of on JOIN Flood attacks (Passport or Guest_) 
;it works by dynamicaly setting the room maximum chatter size to +3 the current size only after 5 seconds 
;so this means only a maximum of 3 people can join at any given 5 seconds period, so keeping out flooders. 

menu channel { 
 Dynamic Room Limit Protection 
 .$iif($group(#limitprot) == on,$style(2),$style(0)) On: .enable #limitprot | echo -a 0,12Dynamic Limit Protection $+ 0,94 On 
 .$iif($group(#limitprot) == off,$style(2),$style(0)) Off: .disable #limitprot | echo -a 0,12Dynamic Limit Protection $+ 0,4 Off 
} 

#limitprot on 
on *:JOIN:*: { 
 if ($nick != $me) { 
   if ($calc($nick($chan,0) + 2) <= 100) { 
     .timer.limit 1 5 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 3) 
   } 
 } 
} 
on *:PART:*: { 
 if ($calc($nick($chan,0) + 2) <= 100) { 
   .timer.limit 1 3 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 2) 
 } 
} 
on *:KICK:*: { 
 if ($calc($nick($chan,0) + 2) <= 100) { 
   .timer.limit 1 3 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 2) 
 } 
} 
on *:MODE:#: { 
 if ($nick != $me) || ($nick !isowner $comchan($nick,1)) { 
   if ($calc($nick($chan,0) + 2) <= 100) .timer.limit 1 3 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 3) 
 } 
} 
#limitprot end 

;By eXonyte web site: http://exonyte.dyndns.org

ok thanx its working see

________________________________________________

17 pepople chat room n limit

The chat's Mode has changed to +l 20 [ [-Raja-]™*!*EDE7F1006@GateKeeperPassport]

________________________________________________

But tell me 1 thing if 3 people join or left same time chat room then room limit auto lock or not ?

Waiting replay.... :pizza:

 

room limit 1 min lock ? or no time limit lock ?

No locks its just setting the room to be over with 3 members or 2 only so dont worry about this but if the 3 joins at the same time will increase the limite but the 4th member 've to wait 1 or 2 second cause it may tell him the room is full

ok thanx its working see

________________________________________________

17 pepople chat room n limit

The chat's Mode has changed to +l 20 [ [-Raja-]™*!*EDE7F1006@GateKeeperPassport]

________________________________________________

But tell me 1 thing if 3 people join or left same time chat room then room limit auto lock or not ?

Waiting replay.... :pizza:

 

room limit 1 min lock ? or no time limit lock ?

________________________________

sorry me change my nick its me loveerror

________________________________

listen brother me pakistani or i have sux cable net speed i have just 2 kb net speed thats why i m asking u make own commd like 3 people join or left same time then room limit auto lock coz if flooder flood my group then my script change limit 1 by 1 then my script dc coz i dont have well speed so please make this commd for me thanx

 

 

____________________________________________

3 people join same time or left then room limit auto lock 1 mint

or 20 people chat room then set limit auto 23 thanx

 

or i have this flooder detect commd see

_________________________________________

#flood on

on *:JOIN:*: {

if (%ozkk == on ) {

access $msn.get($cid,fullroom) add deny $address 1 :passport flood

.sockwrite -tn msn.server. $+ $cid kick $msn.get($cid,fullroom) $nick : Flood

}

if (!%pFl) {

set -u1 %pFl 1

set -u1 %ppoz. [ $+ [ # ] ] $nick

}

;by ozzy10

else {

inc %pFl

if (%pFl == 3) {

set -u1 %pozpo $calc(%pozpo +1)

set -u1 %ozkk on

if (> !isin %ppoz. [ $+ [ # ] ]) {

var %i = 1

while (%i <= $numtok(%ppoz. [ $+ [ # ] ],32)) {

inc %i

}

if (!%pozpo) {

set -u1 %pozpo 0

}

}

}

}

}

#flood end

Edited Dec 30, 2005 11:21 PM by Ozzy10

Mr RaJa, when posting other peoples code, could you please put where the code came from as the above passport flood protection is code i made and is from kenobi script

My code does NOT have bugs. It just develops random features.

LOL @ Ozzy try to read the code before say that <wo0t>

 

if (!%pFl) {

set -u1 %ppoz. [ $+ [ # ] ] $nick

}

;by ozzy10

else {

inc %pFl

 

:stupid:

Edited Dec 30, 2005 11:26 PM by samooh_2003

thats in there cause i just edited the post

My code does NOT have bugs. It just develops random features.

:oops: & :lolwave: U can post it above the code to c it Well :lmaojump: LOL anice code but with 10th line is 2 long <wo0t> that in status bar not my talking :diespam:
Edited Dec 30, 2005 11:35 PM by samooh_2003

LOL @ Ozzy try to read the code before say that <wo0t>

:stupid:

LoL, Mr Ozzy10 what i said ? i dont say that its my code see code fist

 

:by ozzy

 

 

not made by Raja :taz:

 

anyway somth u dont reply me my last messege? :oops: i said i want

 

 

 

auto limit lock commd 3 people join or left then room limit auto lock 1 mint

 

or 20 people in chat room then set limit auto 23 :wallbash:

Mr RaJa i saied that 2 him but if u read it well u will get that information in a good way he edited ur post and put the credit :D

Mr RaJa, when posting other peoples code, could you please put where the code came from as the above passport flood protection is code i made and is from kenobi script

 

 

hay smoth brother :blah: i have not well net i have just 2 kb speed thats why i m asking u i want room limit lock commd like 3 people join or left chat room then set room limit auto lock 1 mint or 20 people chat room set limit 23 me waiting ur replay :wallbash:

:oops: i couldn't get it right so its already will set the room for over +3 on joining or +2 on part and kick so do u wanna it by command to stop limit and lock the room or wt exactly ?!