It sounds like you want to use an event with "OR" with a sub-event that is also an "OR".
So all events are, by default, AND events. If you right click (or two finger tap on a touchpad) on the event's conditions, you can see a button that lets you "Make OR block". This changes that particular event from AND to OR as long as you have multiple conditions in it.
Then you can right click/two finger tap again and "Add sub-event". This event will only trigger once one of your original OR conditions is true and everything in the top level event has run. So you make this sub event another OR block and then run your code in the sub event.
Is this what you meant?