Gets the item id of the item in the specified slot of the specified inventory.
id of the inventory to read the slot from.
index of the slot in the inventory to read.
id of the item currently in the slot. -1 if none.
local item = osrs.ClientOp.invGetObjId(93, 1);osrs.print(osrs.ClientOp.ocName(item)); Copy
local item = osrs.ClientOp.invGetObjId(93, 1);osrs.print(osrs.ClientOp.ocName(item));
Gets the item id of the item in the specified slot of the specified inventory.