Flooding is controlled by the following settings:

/set flood_check
     turns flood check on/off
/set flood_max
/set flood_period

the flood rate
~~~~~~~~~~~~~~
The flood rate is the maximum number of messages that
is allowed from a user@host.domain before flooding
is triggered.
The rate is <flood_max> messages within <flood_period> seconds.
<flood_max> is currently unsigned char (max 255).
By default, the flood rate is 3 mesages per second.

Currently, the following message type are checked for flooding:
o private mesages and notices
o public mesages and notices
o invitations
o CTCP requests
o Action kind of messages
o topic changes

Maybe more should be added.

flood hooks
~~~~~~~~~~~
The following event types are triggered by flooding:

o FLOOD_PUBLIC triggered by channel flooding
o FLOOD_PRIVATE triggered by private msges,notices,invites..

Example:

(gs-on "#PFLOOD_PRIVATE" 100 "*" (lambda(msg w)
   (_say w "@i** flooding detected from "
       (next-word msg 1) " **. Now ignoring for 2 minutes.");
   (gs-execute w "ignore " (next-word msg 1) " for 2 minutes")))
