Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local send = read()
- rednet.broadcast(send, "Drone")
- local id,info = rednet.receive("Remote")
- if(send == "Look") then
- print("Left: ".. info.left)
- print("Back: ".. info.back)
- print("Right: " .. info.right)
- end
- print("Front: " .. info.front)
- print("Up: " .. info.up)
- print("Down: " .. info.down)
- end
Advertisement
Add Comment
Please, Sign In to add comment