Try this then

Code:
 alias floodcheck {
  var %fl.time = 10, %fl.lines = 3, %fl.ignore = 5
  inc $iif(!$($+(%,flood,.,$1,.,$2),2),$+(-eu,%fl.time)) $+(%,flood,.,$1,.,$2)
  if ( $($+(%,flood,.,$1,.,$2),2) >= %fl.lines ) set $+(-eu,$calc(%fl.ignore * 60)) %flood.var 1
}   


Then in the event, use this



Code:
 On *:TEXT:@test:#: {
 floodcheck $cid $chan
 if ( %flood.var ) halt
 } 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!