The +f channel mode provides comprehensive flood protection for a channel. This mode allows you to prevent join, nick change, CTCP, text, and knock floods. The syntax for this mode’s parameter is as follows:

/mode #channel +f [{#}{,…}]:

The amount specifies the number of times the specified flood must occur before action is taken. Below are the available types:

Type Name Default Actions Other Actions
c CTCP +C (no channel CTCPs allowed) m (only voiced users can speak), M (only registered users can speak)
j Join +i (invite only) R (only registered users can join)
k Knock +K (no knocks allowed)  
m Messages +m (only voiced users can speak) +M (only registered users can speak)
n Nickname Change +N (no nickname changes allowed)  
t Text User is kicked from the channel +b (user is banned from the channel)

The difference between type m and t is that m is tallied for the entire channel whereas t is tallied per user.

If you choose to specify an action for a mode, you may also specify a time (in minutes) after which the specific action will be reversed.

An example of the use of this command is:

/mode #chills +f [2c#C5,6j#R3,3k#K10,15m#m5,5n#N3,5t#b60]:5

This means…

  • If there are 2 channel CTCP messages (2c) in 5 seconds(:5) set mode +C for 5 mins (#C5)
  • If there are 6 joins (6j) in 5 seconds (:5) set mode +R for 3 mins (#R3)
  • If there are 3 /KNOCK commands on the channel (3k) in 5 seconds (:5) set mode +K for 10 mins (#K10)
  • If there are 15 messages in total from all users (15m) in 5 seconds (:5) set mode +m for 5 mins (#m5)
  • If there are 5 nickname changes (n5) in 5 seconds (:5) set mode +N for 3 mins (#N3)
  • If there are 5 messages from any single user (5t) in 5 seconds (:5) ban the user for 60 mins (#b60)

It has been observed lately that bot nets are joining channels and rapidly joining and parting. In order to prevent this, you can use channel mode j. This mode will allow only x joins to your channel in y seconds for each client. The recommended setting for this is 1 join in 1 second as this will entirely eradicate join/part flooding from botnets. An example of the use of this is:

/mode #chills +j 1:1

If you need any help, come and see us in #help on