Have you change the channel name on the first line?
on @*:text:*:#channel: {You also need to change both
N's in the part below for the value you want:
inc -uN $+(%,talk,$nick)
if ($eval($+(%,talk,$nick),2) >= N) {I've tried it here and,
after the correction I made on NoPleX's note (see a couple of posts above), it worked fine.
Zyzzyx