Guest User

Waffle Command

a guest
Feb 5th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. command /waffle:
  2. description: Eat a waffle.
  3. permission: action.waffle
  4. executable by: players
  5. trigger:
  6. set {_diff} to difference between {sql_.diff::%player%} and now
  7. if {_diff} is less than 30 seconds:
  8. send "&cYou must wait &b%difference between 30 seconds and {_diff}% &cbefore you can do that again!"
  9. stop
  10. if player is muted:
  11. send "&cYou can't do that while muted!"
  12. stop
  13. else:
  14. broadcast "&e%player% ate a waffle."
  15. set {sql_.diff::%player%} to now
Advertisement
Add Comment
Please, Sign In to add comment