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