Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local pastefile = fs.open("OS/programs.txt", "r")
- while true do
- paste = pastefile.readLine()
- if paste == nil then
- error("done")
- end
- name = pastefile.readLine()
- print("-------------------------------------------------")
- print("Updating : ",name)
- shell.run("delete",name)
- shell.run("pastebin","get",paste,name)
- print("-------------------------------------------------")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement