OSRS Plugin API
    Preparing search index...

    Enumeration ON_MAP_REBUILD_PRE

    Event id for starting the loading of new section of the map. Calls the OnMapRebuildPreCallback.

    -- Create a function
    local mapRebuildPre = function()
    osrs.print("Starting to load into a new section of the map")
    end
    -- Subscribe to the function
    osrs.Events.subscribe(mapRebuildPre, osrs.Events.ON_MAP_REBUILD_PRE)