Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap("left")
- modem.open(31998)
- while true do
- local event,side , channel, reply, msg, dist = os.pullEvent("modem_message")
- print("Nouvelle position:")
- print(msg)
- print("at the distance : "..dist)
- end
Add Comment
Please, Sign In to add comment