OSRS Plugin API
    Preparing search index...

    Enumeration ON_RUN_ENERGY_TRANSMIT

    Event id for updating run energy (the run points depicted next to the minimap). Calls the OnRunEnergyTransmitCallback.

    -- Create a function
    local runEnergy = function(energy)
    osrs.printf("Players run energy: %i", energy)
    end
    -- Subscribe to the function
    osrs.Events.subscribe(runEnergy, osrs.Events.ON_RUN_ENERGY_TRANSMIT)