Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("right")
- rednet.open("left")
- mon.clear()
- mon.setCursorPos(1, 0)
- while true do
- event, sender, message = os.pullEvent("rednet_message")
- x, y = mon.getCursorPos()
- if y == 5 then
- mon.scroll(1)
- y = 4
- end
- mon.setCursorPos(1, y+1)
- mon.write(message)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement