Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kaas = peripheral.call("right","getAvailableItems")
- moni1 = peripheral.wrap("monitor_10")
- local yline = 0
- local count = 0
- local monis = 0
- moni1.clear()
- for i = 1, #kaas do
- if yline > 5 then
- monis = monis + 1
- moni1 = peripheral.wrap("monitor_"..10+monis)
- yline = 0
- count = 0
- moni1.clear()
- end
- count = count + 1
- if count > 50 then
- count = 0
- yline = yline + 1
- end
- moni1.setTextScale(0.5)
- moni1.setCursorPos((yline*25)+1,count)
- moni1.write(kaas[i]["name"])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement