Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- L8r here --
- -- I NEED THE URL!!! --
- -- FORCE UPDATE --
- local function update(pUrl, pPath)
- print("Get from "..pUrl)
- local req = http.get(pUrl)
- if req then
- local f = fs.open(pPath,"w")
- print("Save to "..pPath)
- f.write(req.readAll())
- f.close()
- req.close()
- print("Install "..pPath.." complete")
- return "nIL :D"
- else
- error("Can't get "..pPath.."\nIs "..pUrl.." on HTTP WL?",0)
- end
- end
- update("http://pastebin.com/CSDPraK3","LyricCore")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement