the id of an object.
if the object can be placed in a stack.
local BACKPACK = 93;
local size = osrs.ClientOp.invSize(BACKPACK);
for i=0, size-1, 1 do
local id = osrs.ClientOp.invGetObjId(BACKPACK, i)
osrs.printf("Slot %d contains the item: %s, and %s", i, osrs.ClientOp.ocName(id), osrs.ClientOp.ocStackable(id) and "is stackable" or "is not stackable")
end
Gets if the item idenfied by the provided id can be stacked or not