Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- local senderId, message, distance = rednet.receive() -- wait for message
- local x, y, z = gps.locate(5)
- if x ~= nil then
- locationString = x .. "|" .. y .. "|" .. z
- rednet.send(senderId,locationString, true)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement