Advertisement
Neonowsky

[SK] TimeTNT

Aug 28th, 2015
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. options:
  2. od: 10
  3. do: 22
  4. on place of tnt:
  5. set {_x} to hour
  6. if {_x} is larger than {@od}:
  7. if {_x} is less than {@do}:
  8. stop
  9. else:
  10. cancel event
  11. send ""
  12. send "&cTNT mozna uzywac od godziny {@od} do {@do}."
  13. send "&cAktualna godzina: &e%hour%:%minute%"
  14. else:
  15. cancel event
  16. send ""
  17. send "&cTNT mozna uzywac od godziny {@od} do {@do}."
  18. send "&cAktualna godzina: &e%hour%:%minute%"
  19. on explode:
  20. entity is tnt:
  21. set {_x} to hour
  22. if {_x} is larger than {@od}:
  23. if {_x} is less than {@do}:
  24. stop
  25. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement