Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

empf2

DerMarten Jul 27th, 2015 (edited) 201 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. local modem = peripheral.wrap("back")
  2. modem.open(1)--Open channel 3 so that we can listen on it
  3. local oldMessage = ""
  4. while true do
  5.         local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
  6.         if event == "modem_message" then
  7.                 if message == oldMessage then
  8.                
  9.                 else
  10.                         term.clear()
  11.                         print(message)
  12.                 end
  13.         end
  14. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top