Advertisement
Freenzen

xd

Sep 22nd, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. variables:
  2. {tnt::status} = true
  3.  
  4. command /tnt1 [<text>]:
  5. permission: tnt.admin
  6. permission message: &cBrak uprawnien!
  7. trigger:
  8. if {tnt::status} is true:
  9. if arg is "off":
  10. set {tnt::status} to false
  11. broadcast "&7TNT zostalo &cwylaczone!"
  12. stop
  13. else:
  14. if arg is "on":
  15. set {tnt::status} to true
  16. broadcast "&7TNT zostalo &awlaczone!"
  17. stop
  18.  
  19. on place:
  20. if event-block is tnt:
  21. if {tnt::status} is false:
  22. cancel event
  23. send "&7TNT jest &cwylaczone"
  24. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement