ok so I guess this is how you do it?

Code:
on *:text:*!test*:#: {
  if (%flood) { return }
  set -u4 %flood On
  msg $chan test
  LineCount
}