Advertisement
craftyoyo

monitor

Dec 31st, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. modem = peripheral.wrap("left")
  2. mon = peripheral.wrap("right")
  3.  
  4. while 1 do
  5. mon.setCursorPos(1,4)
  6. mon.write("http://doortoggle.atspace.cc/")
  7. mon.setCursorPos(1,8)
  8. mon.write("by Feeling97")
  9. modem.open(2)
  10. local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
  11. mon.clear()
  12. mon.setCursorPos(1,1)
  13. mon.write(message)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement