Auto Updater

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ItzGoogle

New Member
Aug 11, 2018
8
0
1
26
Hello.

Im creating a skript and i cant seem to figure this out.
what i need is that:
1. On load it should check the version (i have already made)
2. if {@aupdate} is true then it should download a skript from example.com/gac.sk (same name of skript)
3. replace itself with the downloaded skript.

or any other way to update a skript.

current code: https://pastebin.com/LV0ggiyb
 
You can use SkUtility's effect

download file from "url" to file "plugins\skript\scripts\yourscript.sk"
 
Status
Not open for further replies.