Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /cake:
- trigger:
- set {_waited} to difference between {cake.%player%.lastused} and now
- if {_waited} is less than a minute:
- message "You have to wait %difference between a minute and {_waited}% before 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