Guest User

Untitled

a guest
Aug 9th, 2013
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function aa()
  2. a = a+1
  3. if redstone.getInput("left") == false then
  4. a = 1
  5. write ("touch")
  6. else
  7. end
  8. if a == 10 then
  9. write ("test")
  10. shell.run("rename <startup> <startup2>")
  11. shell.run("rename <startup1> <startup>")
  12. shell.run("reboot")
  13. else
  14. sleep(1)
  15.  
  16. end
  17. end
  18.  
  19. a = 1
  20. while true do
  21. aa()
  22. end
Advertisement
Add Comment
Please, Sign In to add comment