Alright, I'm just going to set an example here.
hi()
{
echo("Hi!"); //echo only if the time delay is over
}
How do I make it so that this function can't be spammed over and over again?
Like if a player used it, how can you make them wait 5 seconds before they can
activate it again?