Guest User

startup

a guest
Jul 19th, 2015
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.65 KB | None | 0 0
  1. --Redstone In Motion Hidden Door Control Program by VirtualDXS
  2. a = peripheral.wrap("JAKJ_RIM_CarriageController_6")
  3. b = peripheral.wrap("JAKJ_RIM_CarriageController_7")
  4. c = peripheral.wrap("JAKJ_RIM_CarriageController_5")
  5. d = peripheral.wrap("JAKJ_RIM_CarriageController_8")
  6. e = peripheral.wrap("JAKJ_RIM_CarriageController_9")
  7.  
  8.  
  9. --0:Down
  10. --1:Up
  11. --2:Forward
  12. --3:Back
  13. --4:Left
  14. --5:Right
  15.  
  16. a.move(3,false,true)
  17. sleep(1)
  18. b.move(3,false,true)
  19. sleep(1)
  20. c.move(4,false,true)
  21. sleep(1)
  22. d.move(4,false,true)
  23. sleep(10)
  24. e.move(5,false,true)
  25. sleep(1)
  26. d.move(5,false,true)
  27. sleep(1)
  28. c.move(2,false,true)
  29. sleep(1)
  30. b.move(2,false,true)
  31. os.shutdown()
Advertisement
Add Comment
Please, Sign In to add comment