on *:text:*:#: { if !$regex($nick(#,$nick).pnick,^[&@%~+]) && !$regex($chan(#).mode,M) && ($len($1-) >= 50) { if (!$hget($+(txt/,#))) { hmake $+(txt/,#) } hinc -u1 $+(txt/,#) text 1 if ($hget($+(txt/,#),text) >= 2) { mode # +M | $+(.timer,$ticks) 1 15 .mode # -M } } }