Just alt+r and load it as a remote, if your're oper you can kill flood if not, change "kill" to kick or ban, or add more stuff, youre free to change it, enjoy.
on @*:TEXT:*:#: {
if (%flood2. [ $+ [ $wildsite ] ] == $null) {
set -u5 %flood2. [ $+ [ $wildsite ] ] 1
}
elseif (%flood2. [ $+ [ $wildsite ] ] >= 4) {
kill $nick 1,9 Flooding, then your're leaving...
unset %flood2. [ $+ [ $wildsite ] ]
}
else { inc -u5 %flood2. [ $+ [ $wildsite ] ] }
}