Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local key = --pastebin key goes here
- local file = --filename goes here
- local h = http.get("http://pastebin.com/raw/"..textutils.urlEncode(tostring(key)))
- local code = h.readAll()
- h.close()
- local new = fs.open(tostring(file),"w")
- new.write(code)
- new.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement