Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap("top")
- while true do
- modem.open(3) -- Open channel 3 so that we can listen on it
- event, side, senderChannel, replyChannel, msg, distance = os.pullEvent("modem_message")
- print(msg)
- end
Advertisement
Add Comment
Please, Sign In to add comment