Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- monitor = peripheral.wrap("monitor_0")
- modem = peripheral.wrap("left")
- text = monitor.write
- line = monitor.setCursorPos
- for i = 199,220,1
- do
- modem.open(i)
- end
- event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
- line(1,senderChannel-198)
- text(message)
- end
Add Comment
Please, Sign In to add comment