Justiik

Untitled

Oct 27th, 2021 (edited)
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. while true do
  2. monitor = peripheral.wrap("monitor_0")
  3. modem = peripheral.wrap("left")
  4. text = monitor.write
  5. line = monitor.setCursorPos
  6. for i = 199,220,1
  7. do
  8. modem.open(i)
  9. end
  10. event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
  11. line(1,senderChannel-198)
  12. text(message)
  13. end
Add Comment
Please, Sign In to add comment