MrNorbertPL24

Untitled

Nov 22nd, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. command /wylacz [<text>]:
  2. aliases: norbert:wylacz
  3. trigger:
  4. if player has permissions "norbert.servershutdown" or "norbert.*":
  5. set {wylacz} to 10
  6. execute console command "save-all"
  7. execute console command "save-on"
  8. wait 0.1 seconds
  9. set {wylacz} to 10
  10. loop 10 times:
  11. remove 1 from {wylacz}
  12. broadcast "&7[&6&lZITCRAFT&7] &3Serwer zostanie wylaczony za &c%{wylacz}%&3 sekund."
  13. wait 1 seconds
  14. clear {wylacz}
  15. clear {wylacz}
  16. execute console command "stop"
  17. execute console command "stop"
  18. on chat:
  19. if {wylacz} is set:
  20. cancel event
  21. on command:
  22. if {wylacz} is set:
  23. cancel event
  24. on drop:
  25. if {wylacz} is set:
  26. cancel event
  27. on script load:
  28. clear {wylacz}
  29. on break:
  30. if {wylacz} is set:
  31. cancel event
  32. on place:
  33. if {wylacz} is set:
  34. cancel event
  35. on damage:
  36. if {wylacz} is set:
  37. cancel event
  38. on click:
  39. if {wylacz} is set:
  40. cancel event
Advertisement
Add Comment
Please, Sign In to add comment