Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("right") --Screen Side
- nir = peripheral.wrap("bottom")
- function newLine()
- local _,cY= mon.getCursorPos()
- mon.setCursorPos(1,cY+1)
- return cY
- end
- while true do
- uuid, state, title, info = nir.get(1)
- mon.clear()
- mon.setTextScale(1) --Text Size
- mon.setCursorPos(1, 1)
- for system, status in pairs(info) do
- status = tostring(status) -- this makes status into a string so it can be printed.
- print("System: "..system.." Status: "..status)
- mon.write("System: ".. system .." | Status: ".. status)
- newLine()
- end
- sleep(.9)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement