Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap('back')
- term.clear()
- term.setCursorPos(1, 1)
- modem.open(1)
- print('Awaiting Input')
- local txt = read()
- modem.transmit(2,1,txt)
- local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent('modem_message')
- print(message)
Add Comment
Please, Sign In to add comment