void main()
{
    object oPC = GetEnteringObject();
    object oTarget = GetNearestObjectByTag("SPAWN_BOSS");

          // If the player hasn't been through here yet, spawn the appropriate NPC.
    if(GetIsPC(oPC) && !GetLocalInt(oPC, "Spawned_Datson")) {

          // If the first entering object is a female player, spawn the male version.
        if (GetGender(oPC) == GENDER_FEMALE && GetIsPC(oPC)){
        object oDatson = CreateObject(OBJECT_TYPE_CREATURE, "jariah", GetLocation(oTarget));
        }

         // If the first entering object is a male player, spawn the female version.
        if (GetGender(oPC) == GENDER_MALE && GetIsPC(oPC)){
        object oDatson = CreateObject(OBJECT_TYPE_CREATURE, "jariah001", GetLocation(oTarget));
        }
        // Set the Int so it won't happen again.
    SetLocalInt(oPC, "Spawned_Datson", TRUE);
    }
}
