Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tpm = peripheral.wrap("left")
- mon1 = peripheral.wrap("top")
- stor1 = "65536"
- list = tpm.getAvailableItems()
- totalSize = 0
- mon1.clear()
- mon1.setCursorPos(1,1)
- for number, item in pairs(list) do
- totalSize = totalSize + 512 + item.size / 8
- totalSize2 = number
- end
- mon1.write(totalSize2)
- --mon1.setCursorPos(1,2)
- --mon1.write(totalSize2*513)
- mon1.setCursorPos(1,3)
- mon1.write(totalSize)
- mon1.setCursorPos(1,4)
- mon1.write(stor1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement