http://www.nwnlexico...itle=GetSubRace
So, for example, a conditional script in conversation might contain
return (GetSubRace(OBJECT_SELF) == "Drow");
If you understand scripting (see Lexicon Primer), the only special issue is dealing with the free format of the subrace name, discussed here:
http://nwn.wikia.com/wiki/SubraceThat could be avoided by having an initial conversation with the player, using SetSubRace to store their choice in a fixed format.