OSRS Plugin API
    Preparing search index...

    Enumeration ON_DIALOG_ABORT

    Event id for aborting dialogue with a NPC by moving out of range. Calls the OnDialogAbortCallback.

    -- Create a function
    local dialogAbort = function()
    osrs.print("Leaving Dialog")
    end
    -- Subscribe to the function
    osrs.Events.subscribe(dialogAbort, osrs.Events.ON_DIALOG_ABORT)