This is for just 1 user making the flood.
Code:
on *:TEXT:*:#: {
  if ($1 == !saywhat) {
    if ($($+(%,flood.,$nick),2)) { return }
    set -u30 %flood. $+ $nick On


this is for the entire channel

Code:
on *:TEXT:*:#: {
  if ($1 == !saywhat) {
    if ($($+(%,flood.,$nick),2)) { return }
    set -u10 %flood On


You can combine both

Code:
on *:TEXT:*:#: {
  if ($1 == !saywhat) {
    if ($($+(%,flood.,$nick),2)) { return }
    set -u10 %flood On
    set -u30 %flood. $+ $nick On


u10 = 10 seconds
u30 = 30 seconds

I use this post to make that script.

Last edited by nanito; 23/12/15 05:02 AM.