The callback for Events.ON_PLAYER_OP events.
The action selected by the player.
The id of the inventory object currently selected, if exists. Otherwise, -1.
The id of the selected player character.
osrs.printf("Committed Operation %s on %s with ID %d", opName, osrs.ClientOp.playerName(playerID), playerID) Copy
osrs.printf("Committed Operation %s on %s with ID %d", opName, osrs.ClientOp.playerName(playerID), playerID)
The callback for Events.ON_PLAYER_OP events.