Advertisement
Guest User

Untitled

a guest
Nov 15th, 2017
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. command /cake:
  2. trigger:
  3. set {_waited} to difference between {cake.%player%.lastused} and now
  4. if {_waited} is less than a minute:
  5. message "You have to wait %difference between a minute and {_waited}% before you can use this command again!"
  6. stop
  7.  
  8. player doesn't have space for a cake:
  9. message "You do not have enough space in your inventory to hold the cake!"
  10. stop
  11. give a cake to the player
  12. set {cake.%player%.lastused} to now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement