How to make an event that only occurs if unit over a certain level?

I want to create an event that only occurs if a unit is over a certain level. Kinda like how the route split in fe7 only occurs if the Lord’s are over lvl 50. How would I do this?

If using FE8, use the Get Unit Status patch.
If not using FE8, do it with ASM. You can reference the function you mentioned in FE7.