Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- ActuelVersion: 2.0
- OldVersion: 1.0
- on script load:
- if file "plugins/Skript/scripts/Update {@OldVersion}.sk" exists:
- df "plugins/Skript/scripts/Update {@OldVersion}.sk"
- wait 10 ticks
- make console execute command "/sk reload all"
- set {_Ver} to text from "http://pastebin.com/raw/CtVzw9CS"
- if {_ver} is not "2.0":
- send "[Update] MAJ du skript en cours..." to console
- download from "http://pastebin.com/raw/T6gKy00j" to "plugins/Skript/scripts/Update %{_ver}%.sk"
- send "[Update] MAJ du skript fini !" to console
- make console execute command "/sk reload Update %{_ver}%"
- command /aYT:
- trigger:
- broadcast "1ere version"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement