streqicity

master

Sep 10th, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. while true do
  4. if rs.getInput("front")==true then
  5. if rs.getInput("back")==true then
  6. sleep(.5)
  7. else
  8. rednet.send(159,1)
  9. sleep(.5)
  10. end
  11. else
  12. if rs.getInput("left")==true then
  13. sleep(.5)
  14. else
  15. rednet.send(159,0)
  16. sleep(.5)
  17. end
  18.  
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment