#Set the cooldown variable e.g '{test.cool.%player's uuid%}' to now when they run the command correctly. I hope this helped!
options:
prefix: &8[&7Test&8]&7
permission: test.run
pm: Unknown command. Type ""/help"" for help!
#Permission message ^^
ct: 15 seconds
#Cooldown time ^^
command /test [<text>]:
permission: {@permission}
permission message: {@p}
trigger:
set {_test.cool} to difference between {test.cool.%player's uuid%} and now
if {_test.cool} is less than {@ct}:
send "{@prefix} You need to wait &8'&b%difference between {test.cool} and {@ct}%&8' &7before using this command again!"
stop
if arg-1 = "...":
send "{@prefix} Hey, it worked!"
set {test.cool.%player's uuid%} to now