Code:
on *:notice:*:*: {
  if (!$istok(nickserv chanserv botserv hostserv memoserv ...,$nick,32)) {
    hinc -mu5 noticeflood $wildsite
    if ($hget(noticeflood,$wildsite) > 5) { 
      .ignore -nu15 $wildsite
      echo -s  *** Notice flood from $wildsite - Ignoring notices for 15secs...
    }
  }
}

A quick alternative suggestion for notice floodprotection - maybe you like it smile