hello right now a user can spam commands and it will just spam and will flood the chat and I have looked trough the script and I dont know where to add %flood code can someone help me?

This is the whole script

http://pastebin.com/nJPmgmkN