Advertisement
callmebackdraft

Startup

Nov 25th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. -- Startup Program for MobSpawn
  2.  
  3. local function start()
  4. local m = peripheral.find("monitor")
  5. term.redirect(m)
  6. runType = "installed"
  7. m.clear()
  8. m.setCursorPos(1,1)
  9. mY , mX = m.getSize()
  10. end
  11. start()
  12. print("Updating Initializer")
  13. fs.delete("install")
  14. sleep(1)
  15. shell.run("pastebin get y7YnZHpj install")
  16. sleep(1)
  17. print("Initializer Updated")
  18. sleep(2)
  19. shell.run("install")
  20. start()
  21. shell.run("MobSpawn")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement