Jump to content




Script updater (will be updated)

api

  • You cannot reply to this topic
2 replies to this topic

#1 TyDoesMC

  • Members
  • 154 posts
  • LocationEarth

Posted 27 February 2014 - 06:09 PM

Hello, I've made a program for programmers can use with there api, program, script.
all you do is make a paste in pastebin (note: must be posted while logged in to pastebin), then update that first paste by clicking "edit",
then the person downloads the new updated script eg: pastebin.com/DQUk0VCF
Change the area prompt with your paste and program name, then update the same paste and then they will download the updated version.

--[[ automatic updater ]]--
write("update?: ")
input = read()
if input == "update" then
print("Updating...")
shell.run("pastebin get (your pastebin here) (name)")
else
print("now exiting...")
os.reboot()
end

Edited by Toxic_Herobrine, 27 February 2014 - 06:10 PM.


#2 gametechish

  • Members
  • 47 posts

Posted 01 March 2014 - 01:25 AM

cool im gonna use this

#3 willwac

  • Members
  • 182 posts

Posted 01 March 2014 - 01:45 AM

Eh. Most people make their own updaters.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users