Looking to have a condition check the level of two classes

Okay, so I'm using Yanfly's class core change plugin, and I understand how it works pretty well. I can get a class to appear on a class list through the notetags, but I wanted to make a project where unlocking new classes is more personal than it just suddenly appearing in the class menu.

So I was thinking of making an NPC check if the Actor has Class A and Class B at Level X, then unlocks the Class for the player. But, so far, the only way I've found to do this is an INCREDIBLY tedious and complicated chain of conditional branches that changes the players class repeatedly to painstakingly check each class's individual level, if it matches up, then unlocking the job for the Actor.

I was kind of hoping there might be an easier way, like a simple script that checks for the requirements and unlocks it for the player, especially one I could easily copy and paste multiple times for each actor.

This project is mostly for fun and to practice eventing in MV, so if this isn't possible in a simplified manner I'll come up with a different system for my game. But if it is possible, I think it'd be a nice unique touch for the little project! Thank you in advance anyone who can help ^_^

Original thread: https://forums.rpgmakerweb.com/threads/looking-to-have-a-condition-check-the-level-of-two-classes.89133/