Advertisement
Lukyrouge22

Untitled

Jun 8th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. w = peripheral.wrap("bottom")
  2. p = peripheral.wrap("top")
  3. function msg()
  4. w.open(1)
  5. local event, modemSide, senderChannel,
  6. replyChannel, message, senderDistance = os.pullEvent("modem_message")
  7. p.clear()
  8. p.setTextScale(3)
  9. p.write(message)
  10. end
  11. while true do
  12. msg()
  13. os.sleep(2)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement