Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Modem.open(1)
- local listen = true
- while listen == true do
- local event, side, channel, replyChannel, message, distance
- repeat
- event, side, channel, replyChannel, message, distance = os.pullEvent("modem_message")
- until channel == 1
- print(tostring(message))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement