Advertisement
CREAMPAN0408

Untitled

Feb 22nd, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. command /timer <integer>:
  2. trigger:
  3. set {_countdown} to arg 1
  4. wait 1 tick
  5. broadcast "%{_countdown}% seconds."
  6. loop arg 1 times:
  7. remove 1 from {_countdown}
  8. wait 1 second
  9. {_countdown} is less than {_10}:
  10. broadcast "%{_countdown}% seconds."
  11. else:
  12. broadcast "%{_countdown}% seconds."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement