M4thG33k

Download Reactor Files

Jun 11th, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | None | 0 0
  1. --delete the old files, if they exist
  2.  
  3. if fs.exists("button") then
  4.     shell.run("delete","button")
  5. end
  6.  
  7. if fs.exists("label") then
  8.     shell.run("delete","label")
  9. end
  10.  
  11. if fs.exists("bar") then
  12.     shell.run("delete","bar")
  13. end
  14.  
  15. if fs.exists("reactor") then
  16.     shell.run("delete","reactor")
  17. end
  18.  
  19. if fs.exists("rDisplay") then
  20.     shell.run("delete","rDisplay")
  21. end
  22.  
  23. --download the new info
  24. shell.run("pastebin","get","xuZNi0XJ","button")
  25. shell.run("pastebin","get","a7QUg5cD","label")
  26. shell.run("pastebin","get","UR8Yrvh0","bar")
  27. shell.run("pastebin","get","JRc35gQ7","reactor")
  28. shell.run("pastebin","get","EiGNQ88E","rDisplay")
Add Comment
Please, Sign In to add comment