Guest User

Blokada TnT v1.1 by NewStyleGG

a guest
Dec 26th, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. #Autor: NewStyleGG
  2. #Nazwa Skryptu: TnTControl
  3. #Opis: Blokuje TnT
  4. #Wersja: v1.0
  5. variables:
  6. {tnt.status} = true
  7. options:
  8. prefix: &f[TnT Control]
  9. command /tnt [<text>]:
  10. trigger:
  11. if arg 1 is not set:
  12. player has permission "tnt.control":
  13. send "&6/tnt on &f- Wlacza TnT"
  14. send "&6/tnt off &f- Wylacza TnT"
  15. else:
  16. send "&4Nie Masz Dostepu Do Tej Komendy"
  17. if arg 1 is "on":
  18. player has permission "tnt.control":
  19. set {tnt.status} to true
  20. send "{@prefix}: TnT zostalo wlaczone"
  21. else:
  22. send "&4Nie Masz Dostepu Do Tej Komendy"
  23. if arg 1 is "off":
  24. player has permission "tnt.control":
  25. set {tnt.status} to false
  26. send "{@prefix} : TnT zostalo wylaczone"
  27. else:
  28. send "&4Nie Masz Dostepu Do Tej Komendy"
  29.  
  30.  
  31. on place tnt:
  32. if {tnt.status} is false:
  33. set {tnt.explode} to false
  34. cancel event
  35. send "TNT jest wylaczone"
  36. if {tnt.status} is true:
  37. set {tnt.explode} to true
Advertisement
Add Comment
Please, Sign In to add comment