this,Will basicly lock the channel when some nob. Comes in flooding lol and this is from south pole script here is the Link to the script http://www.mircscripts.com/cgi-bin/file.php?id=129 and i have edited it a bit ^^
«¤7,1§15,1öùthPð¦ë 7,1$15,1¢®ïÞt¤» [version ¾]
----------------------------------------------------------------------------
#no.flood.lite on
on *:quit:{ noflood $nick $1- }
on *:part:%no.flood.chan:{ noflood $nick $chan }
#no.flood.lite end
alias -l noflood {
if %no.flood.chan isin $get.com($1) && .net !isin $2- {
if %temp.door = $null { set -u [ $+ [ %no.flood.secs ] ] %temp.door 1 }
else {
inc %temp.door
if %temp.door > %no.flood.max && ($me isop %no.flood.chan || $me ishop %no.flood.chan) {
mode %no.flood.chan +miR
ignore -u15 *!*@*
.timer 1 %no.flood.unset mode %no.flood.chan -miR
.notice %no.flood.chan *** Channel modes locked due to a Flooders, please bare with us!
.notice %no.flood.chan *** The channel will be unlocked in $duration(%no.flood.unset) $+ .
echo %no.flood.chan >> Warning, Flooder detected! <<
echo %no.flood.chan >> Now locking channel and ignoring all messages for 15 seconds! <<
echo %no.flood.chan >> Warning end. <<
unset %temp.door
}
elseif %temp.door > %no.flood.max {
ignore -u90 *!*@*
echo %no.flood.chan >> Warning, Flooder detected! <<
echo %no.flood.chan >> Now ignoring all messages for 1 minute and 30 seconds... <<
echo %no.flood.chan >> Warning end.<<
}
}
}
}
alias -l get.com {
var %i = 1
var %m = $comchan($1,0)
var %c
while %i <= %m {
%c = %c $+ , $+ $comchan($1,%i)
inc %i
}
return %c
}
alias -l set.no.flood.chan {
var %temp = $$?="Which channel to monitor?"
while $left(%temp,1) != $chr(35) {
var %temp = $$?="Which channel to monitor (example:#Dragonslair)?"
}
set %no.flood.chan %temp
}
alias -l set.no.flood.unset {
var %temp = $$?="Enter duration for modes to unset in seconds:"
while %temp !isnum {
var %temp = $$?="Enter duration for modes to unset in seconds:"
}
set %no.flood.unset %temp
}
alias -l set.no.flood.max {
var %temp = $$?="Enter number of Quits/Parts needed to trigger the protection:"
while %temp !isnum {
var %temp = $$?="Enter number of Quits/Parts needed to trigger the protection:"
}
set %no.flood.max %temp
}
alias -l set.no.flood.secs {
var %temp = $$?="Enter the duration in which Quits/Parts will be monitored, in seconds:"
while %temp !isnum {
var %temp = $$?="Enter the duration in which Quits/Parts will be monitored, in seconds:"
}
set %no.flood.secs %temp
}
alias -l no.flood.activate {
if %no.flood.chan = $null { set.no.flood.chan }
if %no.flood.max = $null { set.no.flood.max }
if %no.flood.secs = $null { set.no.flood.secs }
if %no.flood.unset = $null { set.no.flood.unset }
.enable #no.flood.lite
}
menu nicklist {
-
No Flood Lite ( $+ $iif($group(#no.flood.lite).status = on,ON,OFF) $+ )
.Enable:if $group(#no.flood.lite).status = off { no.flood.activate | echo -a >> No Flood Lite activated... << } | else { echo -a >> No Flood Lite is already active...<< }
.Disable:if $group(#no.flood.lite).status = on { .disable #no.flood.lite | echo -a >> No flood Lite deactivated... << } | else { echo -a >> No Flood Lite is already not active... << }
.-
. $+ $iif(%no.flood.chan != $null,Change,Set) Channel $iif(%no.flood.chan != $null,( [ $+ [ %no.flood.chan ] $+ ] ),$chr(160)):{ set.no.flood.chan }
.Set duration untill modes unset $iif(%no.flood.unset != $null,( [ $+ [ $duration(%no.flood.unset) ] $+ ] ),$chr(160)):{ set.no.flood.unset }
.Set the number of quits/parts to monitor $iif(%no.flood.max != $null,( [ $+ [ %no.flood.max ] $+ ] ),$chr(160)):{ set.no.flood.max }
.Set the duration in which the quits/parts should be monitored $iif(%no.flood.secs != $null,( [ $+ [ $duration(%no.flood.secs) ] $+ ] ),$chr(160)):{ set.no.flood.secs }
.-
.Readme - Help:{ if $exists(NoFloodLite.txt) { run NoFloodLite.txt } | else { echo -a .: No Flood Lite help file not found.. } }
}