Advertisement
Guest User

Skript Command Cooldown Example

a guest
Sep 11th, 2018
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. command /vote:
  2. cooldown: 24 hours
  3. cooldown storage: {lastvote::%uuid of sender%}
  4. cooldown message: You may not vote for another %remaining time%.
  5. trigger:
  6. if last usage date is set:
  7. send "You last voted on %last usage date%, which was %elapsed time% ago."
  8. send "Voting Link: https://mywebsite.com/vote.php?uuid=%uuid of sender%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement