This works...
scriptname CustomRaceIsDefaultRaceshort doOncebegin menumode if doOnce == 1 return else SetRaceAlias ChocolateElf DarkElf set doOnce to 1 endifStopQuest CustomRaceFixend
This doesn't...
scriptname CustomRaceIsDefaultRaceshort doOncebegin menumode if doOnce == 1 return elseif GetPCisRace ChocolateElf == 1 SetRaceAlias ChocolateElf DarkElf set doOnce to 1 elseif GetPCisRace Tabaxi == 1 SetRaceAlias Tabaxi Khajiit set doOnce to 1 elseif GetPCisRace TabaxiWhite == 1 SetRaceAlias TabaxiWhite Khajiit set doOnce to 1 elseif GetPCisRace TabaxiTabby == 1 SetRaceAlias TabaxiTabby Khajiit set doOnce to 1 elseif GetPCisRace NecSonnetMature == 1 SetRaceAlias NecSonnetMature Breton set doOnce to 1 elseif GetPCisRace NecSonnetSweet == 1 SetRaceAlias NecSonnetSweet Breton set doOnce to 1 elseif GetPCisRace NecSonnetKSpoiled == 1 SetRaceAlias NecSonnetKSpoiled Breton set doOnce to 1 elseif GetPCisRace ctype1 == 1 SetRaceAlias ctype1 Imperial set doOnce to 1 elseif GetPCisRace CuteElf == 1 SetRaceAlias CuteElf WoodElf set doOnce to 1 elseif GetPCisRace RenMysticElfF == 1 SetRaceAlias RenMysticElfF WoodElf set doOnce to 1 elseif GetPCisRace RenMysticElfFtt01 == 1 SetRaceAlias RenMysticElfFtt01 WoodElf set doOnce to 1 elseif GetPCisRace NecMysticHighElf == 1 SetRaceAlias NecMysticHighElf HighElf set doOnce to 1 elseif GetPCisRace NecMysticDarkElf == 1 SetRaceAlias NecMysticDarkElf DarkElf set doOnce to 1 elseif GetPCisRace Neckarla == 1 SetRaceAlias Neckarla HighElf set doOnce to 1 endifStopQuest CustomRaceFixend
Where have I gone wrong?