Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local terminalGlassesBridge = peripheral.wrap("left")
- local chest = peripheral.wrap("bottom")
- while(true) do
- i = 0
- y = 1
- invSize = chest.getSizeInventory()
- while(y <= invSize) do
- local tableInfo = chest.getStackInSlot(y)
- if(tableInfo ~= nil) then
- i = i + 1
- end
- y = y + 1
- sleep(0.25)
- end
- if(i >= invSize) then
- terminalGlassesBridge.addText(15, 50, "CHEST IS FULL! PLEASE REVIEW!", colors.red)
- end
- sleep(3)
- terminalGlassesBridge.clear()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement