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