The callback for Events.ON_OBJ_OP events.
The action selected by the player.
the type of the item used on the selected Obj, if any. -1 if none.
The type of the selected item.
The quantity of the selected item's stack.
The coordinate of the selected item.
osrs.printf("Operation: %s on item %s with ID %d with quantity: %d, coordinates: %d,%d,%d",opName,osrs.ClientOp.ocName(objType),objType,objInfoCount,coordX,coordLevel,coordZ) Copy
osrs.printf("Operation: %s on item %s with ID %d with quantity: %d, coordinates: %d,%d,%d",opName,osrs.ClientOp.ocName(objType),objType,objInfoCount,coordX,coordLevel,coordZ)
The callback for Events.ON_OBJ_OP events.