Something
public text v1 · immutablebind flud - * pub:flud
proc pub:flud {nick host hand type chan} {
if {[botisop $chan]} {
if {![isop $nick $chan] && ![isvoice $nick $chan] && ![matchattr $hand mnoaf|mnaof $chan]} {
set host [maskhost $nick![getchanhost $nick $chan] ]
putquick "kick $chan $nick :Some kick msg that says they've flooded"
putquick "mode $chan +b $host"
return 0
}
return 1
}
}