If you want to know the race of the PC check the global flag PCRace.

if ( PlayerGetRace “Argonian” == 1)
      set PCRace to 1

elseif ( PlayerGetRace “Breton” == 1)
      set PCRace to 2

elseif ( PlayerGetRace “Dark Elf” == 1)
      set PCRace to 3

elseif ( PlayerGetRace “High Elf” == 1)
      set PCRace to 4

elseif ( PlayerGetRace “Imperial” == 1)
      set PCRace to 5

elseif ( PlayerGetRace “Khajiit” == 1)
      set PCRace to 6

elseif ( PlayerGetRace “Nord” == 1)
      set PCRace to 7

elseif ( PlayerGetRace “Orc” == 1)
      set PCRace to 8

elseif ( PlayerGetRace “Redguard” == 1)
      set PCRace to 9

elseif ( PlayerGetRace “Wood Elf” == 1)
      set PCRace to 10