Advertisement
onwardprogress

startup

Dec 8th, 2015
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.56 KB | None | 0 0
  1. --this is the startup downloader file. It removes all the previous versions of the id badge program, then downloads new versions at startup
  2. os.pullEvent = os.pullEventRaw
  3. term.clear()
  4. term.setCursorPos(1,1)
  5. if fs.exists("/fileChecker") then
  6.     shell.run("delete filechecker")
  7. end
  8. if fs.exists("mainloop") then
  9.     shell.run("delete mainloop")
  10. end
  11. if fs.exists("door") then
  12.     shell.run("delete door")
  13. end
  14. shell.run("pastebin get qtZv0KcT mainloop")
  15. shell.run("pastebin get 58geiTJb fileChecker")
  16. shell.run("pastebin get rSNNeSVt door")
  17. shell.run("fileChecker")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement