DerMarten

empf

Jul 27th, 2015
228
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local modem = peripheral.wrap("back")
  2. modem.open(1)--Open channel 3 so that we can listen on it
  3. while true do
  4. local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
  5. if event == "modem_message" then
  6. print(message)
  7. end
  8. end
RAW Paste Data