Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while true do
- if rs.getInput("front")==true then
- if rs.getInput("back")==true then
- sleep(.5)
- else
- rednet.send(159,1)
- sleep(.5)
- end
- else
- if rs.getInput("left")==true then
- sleep(.5)
- else
- rednet.send(159,0)
- sleep(.5)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment