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