Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function pastebin(sName, sFile, bOverride) --Gets pastebin file
- tPaste = http.get("http://www.pastebin.com/raw/"..sName)
- if bOverride or not fs.exists(sFile) then
- local tInternal = fs.open(sFile,"w")
- for line in tPaste.readLine do
- tInternal.writeLine(line)
- end
- tInternal.close()
- else
- print("File already exists!")
- end
- end
- pastebin("kFfAgfuj", "new", True)
Advertisement
Add Comment
Please, Sign In to add comment