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