OSRS Plugin API
    Preparing search index...

    Enumeration ON_TARGET_ENTER

    Event id for selecting a targetable spell from the spell list. Calls the OnTargetEnterCallback.

    -- Create a function
    local targetEnter = function()
    osrs.print("Selected a targetable spell from the spell list")
    end
    -- Subscribe to the function
    osrs.Events.subscribe(targetEnter, osrs.Events.ON_TARGET_ENTER)