Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("bottom")
- mon.clear()
- mon.setTextScale(2)
- rednet.open("left")
- while true do
- id, message = rednet.receive()
- if id == 827 then
- words = {}
- for word in message:gmatch("%w+") do table.insert(words, word) end
- for i=2, #words+1, 2 do
- mon.clear()
- mon.setCursorPos(1, 1)
- if words[i] == nil then
- mon.write(words[i-1])
- else
- mon.write(words[i-1].." "..words[i])
- end
- os.sleep(0.25)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment