Advertisement
Neonowsky

[SK] NetherControl

Aug 28th, 2015
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. command /nether [<text>]:
  2. trigger:
  3. player is op:
  4. arg is not set:
  5. send "&6/nether toggle &8|| &6Wlacz/wylacz nether"
  6. stop
  7. arg is "toggle":
  8. if {nether} is true:
  9. set {nether} to false
  10. broadcast "&8[&4Nether&8] &7Pieklo zostalo wylaczone!"
  11. else:
  12. set {nether} to true
  13. broadcast "&8[&4Nether&8] &7Pieklo zostalo wlaczone!"
  14. else:
  15. send "&cNie masz uprawnien."
  16. on portal:
  17. if {nether} is true:
  18. stop
  19. else:
  20. cancel event
  21. send "&cNether aktualnie wylaczony."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement