Advertisement
virtualdxs

Gate Control

Jul 19th, 2015
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Redstone In Motion Hidden Door Control Program by VirtualDXS
  2. a = peripheral.wrap("JAKJ_RIM_CarriageController_21")
  3. b = peripheral.wrap("JAKJ_RIM_CarriageController_22")
  4. c = peripheral.wrap("JAKJ_RIM_CarriageController_23")
  5.  
  6.  
  7. --0:Down
  8. --1:Up
  9. --2:North
  10. --3:South
  11. --4:West
  12. --5:East
  13.  
  14. a.move(0,false,true)
  15. sleep(1)
  16. b.move(0,false,true)
  17. sleep(10)
  18. c.move(1,false,true)
  19. sleep(1)
  20. b.move(1,false,true)
  21. sleep(1)
  22. os.shutdown()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement