I suppose the code is pretty much the same as doing:
on @*:TEXT:*:#:inc -u3 $+(%,$nick,$wildsite) | $iif($($+(%,$nick,$wildsite),2) >= 10,kick # $nick Flood Protection Activated. No Flooding)
Although I'd adjust 5 to 3 secs.