Switch Lfo Presets With Pattern Commands

Would be great, not only for LFOs… Makes me remember of a more generalized idea (controlling devices’ presets with fx commands) suggested here :

Maybe we could achieve that kind of stuff with LUA scripts?