this should get you started
on @*:text:*:#chan_here:{ if (!$($+(%,flood,.,$nick),2) && $nick(#,$nick,oh)) { set -u4 $+(%,flood,.,$nick) on