FMOD Studio Scripting - Loop over all events and add Effect Chain to end of master track

A solution may be to use the effect property to filter out the desired object

For example, below is a scripts that will iterate through all effects from the presets and add the desired ones to the selected master track:

studio.menu.addMenuItem({
    name: "User Scripts ...\\ Add EffectChains from preset",

    execute: function () {
                  
            var selectedEvents = studio.window.browserSelection();
            var presets = studio.project.model.EffectPreset.findInstances();

            presets.forEach(function(effect)
            {
                if(effect.effect == "(ManagedObject:EffectChain)")
                {
                    selectedEvents.forEach(function(selectedEvent)
                    {
                        selectedEvent.masterTrack.mixerGroup.effectChain.addEffect(effect)  //find all effect chains within presets and add them to selected master track
                    })
                }
            })
        
    }
})

I would also recommend you to use the dump function (FMOD Studio | 24. Scripting API Reference | Project.ManagedObject | ManagedObject.dump) to see if you can find any useful information or properties that might help you.

Please let me know if you have any questions.