Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /cake:
- description: Recieve a cake, but you can only do this once per minute!
- permission: cake.is_a_lie
- executable by: players
- trigger:
- set {_waited} to difference between {cake.%player%.lastused} and now
- if {_waited} is less than a 3 seconds:
- message "&cYou must wait &e%difference between a minute and {_waited}% &cbefore you can use this command again!"
- stop
- player doesn't have space for a cake:
- message "You do not have enough space in your inventory to hold the cake!"
- stop
- give a cake to the player
- set {cake.%player%.lastused} to now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement