How do I add a cooldown of 1 hour?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Nov 20, 2022
1
0
1
40
Im a very early beginner and need help. How do I add a cooldown of 1 hour to this command. I tried here but it came out with never ending errors.


command /freecash [<text>]:
trigger:
if arg 1 is "please":
message "&a&l5 Cash Given &7Spendin Time!"
give 1 scute of mending 1, named "Cash" to player
cooldown: 10 seconds
[doublepost=1668980617,1668962431][/doublepost]i got it
 
Code:
command /abc:
  cooldown: 1 hour / 1 second / 1 year / bla bla
  cooldown message: !!!! YOU NO CANT USE YES CUZ COOLDOWN
  trigger:
    <code>
 
Status
Not open for further replies.