OSRS Plugin API
    Preparing search index...

    Enumeration ON_PLAYER_OP

    Event id for taking an action on a player Calls the OnPlayerOpCallback.

    -- Create a function
    local playerOp = function(op, obj, player)
    osrs.printf("Action: %s with Object: %i on Player: %i", op, obj, player)
    end
    -- Subscribe to the function
    osrs.Events.subscribe(playerOp, osrs.Events.ON_PLAYER_OP)