Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap("left")
- local mon = peripheral.wrap("back")
- modem.open(1) --channel
- while true do
- local event, modemSide, senderChannel,
- replyChannel, message, senderDistance = os.pullEvent("modem_message")
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write("UU: " ..message)
- end
Advertisement
Add Comment
Please, Sign In to add comment