Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /wylacz [<text>]:
- aliases: norbert:wylacz
- trigger:
- if player has permissions "norbert.servershutdown" or "norbert.*":
- set {wylacz} to 10
- execute console command "save-all"
- execute console command "save-on"
- wait 0.1 seconds
- set {wylacz} to 10
- loop 10 times:
- remove 1 from {wylacz}
- broadcast "&7[&6&lZITCRAFT&7] &3Serwer zostanie wylaczony za &c%{wylacz}%&3 sekund."
- wait 1 seconds
- clear {wylacz}
- clear {wylacz}
- execute console command "stop"
- execute console command "stop"
- on chat:
- if {wylacz} is set:
- cancel event
- on command:
- if {wylacz} is set:
- cancel event
- on drop:
- if {wylacz} is set:
- cancel event
- on script load:
- clear {wylacz}
- on break:
- if {wylacz} is set:
- cancel event
- on place:
- if {wylacz} is set:
- cancel event
- on damage:
- if {wylacz} is set:
- cancel event
- on click:
- if {wylacz} is set:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment