Jump to content




Taken - A programming oriented puzzle game

command game

40 replies to this topic

#41 Luca_S

  • Members
  • 407 posts
  • LocationGermany

Posted 09 May 2018 - 02:48 PM

This will fail if a script called install already exists. I would suggest the following:
local r = http.get("https://raw.githubusercontent.com/SquidDev-CC/Taken-Map/master/install.lua")
if not r then
  error("Error while downloading installer!")
end
local f = loadstring(r.readAll())
r.close()
if not f then
  error("Error while trying to load installer!")
end
f()






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users