Is there anyway to add a cooldown to this skript?

  • 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 community!

    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!

Tewtiy

Member
Jul 2, 2023
10
0
1
command /dirt:
trigger:
make console execute command "give %player% dirt"

I need a day long cooldown on this cmd, I am using the addon SkQuery and just normal skript if there are any other addons i need to add cooldowns just let me know
 
Yeah, you can add cool down to any command created in Skript with a simple expression: "cooldown: 1 day". Also, next time try checking the documentation of Skript.

Modified code:
Code:
command /dirt:
 cooldown: 1 day
 trigger:
  make console execute command "give %player% dirt"