Code:
on *:text:!slap*:#:{
  if ((%floodslap) || ($($+(%,floodslap.,$2),2))) { return }
  set -u30 %floodslap On
  set -u60 %floodslap. $+ $nick  On
  msg # $nick slaps $2 in the face with a cricket bat and gives $2 a nipple twister Kreygasm
}


Having a message for a cooldown is semi-pointless considering most flood protection is used to keep the bot from being spammed and to prevent bot spam itself. But, if you really want it just replace the { return } with { msg # This command is on cooldown, please wait a few seconds. | return }