I've just tested..
It all works correctly. slot 0 - 8 are the grid of slots in the top left. Slots 9 - 17 are the remaining slots listed along the bottom.
Code:p = peripheral.wrap("right") for i=0, p.getSizeInventory()-1 do stack = p.getStackInSlot(i) if stack ~= nil then print("Stack ".. i .." id: ".. stack.id) else print("Nothing in slot ".. i) end end
Well, looks like I made a complete ass of myself xD.
Thanks and sorry Mike.