Cooldown in chat?

  • 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.

Thele9end27

Member
Feb 20, 2021
4
0
1
23
Code:
on right click:
    block is a sign
    1st line of event-block is "&a[Stenhakke]"
    if {cooldown.sten.%player%} is true:
        send "&4Vent lige "WAIT TIME HERE" makker!"
        stop
        cancel event
    if {cooldown.sten.%player%} isn't set:
        set {cooldown.sten.%player%} to false
    if player has permission "kit.special":
        if the player have space for 1 stone pickaxe:
            give player 1 stone pickaxe
    else:
        drop 1 stone pickaxe at location of player
    if {cooldown.sten.%player%} is false:
        set {cooldown.sten.%player%} to true
        wait 15 minutes
        set {cooldown.sten.%player%} to false

How can i put a cooldown text in the chat for this? I want it to say "vent 11 sec" "vent 10 sec" and so on
 
Status
Not open for further replies.