void main() { object oSpeaker = GetLastSpeaker(); int iGender = GetGender(oSpeaker); if (iGender == GENDER_MALE) { AssignCommand ( oSpeaker, PlaySound("as_pl_hiccupm1")); } if (iGender == GENDER_FEMALE) { AssignCommand ( oSpeaker, PlaySound("as_pl_hiccupm1")); } }