Just store all users joins for a period of time, let's say a variable. If the value of the variable goes over a certain point, tempban them. Simple as that.

/help /set
/help $nick | $adress
/help variables


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net