Gestalt classes, themselves are not particularly hard to implement, at least ones that do not have more than one caster class.
I've done a few of them myself using variants, the problem is when you get to classes with two caster classes, assigning those to racial levels from a class.
Also, if you have say, a rogue and a wizard both use custom abilities... what do you do?
The final issue I've run into is the class abilities mouse over, it only shows a list of the base classes' abilities and does not include specials from the added class. Which, is minor, but still frustrating.
---
Your suggestion works, except it gives the following error:
Code:
No panel linkage defined for thing 'rEQAlicorn'
Location: 'evalrule' script Component 'Spellcast' (Eval Rule '#3') near line 55
Where 'rEQAlicorn' was the name of the race being tested. I applied the code from a race directly not from a varient class linking it to a race, that might be a bit more complicated. But it shows the basic principle being workable. This helps alot.