void main() { object oSpeaker = GetLastSpeaker(); int iGender = GetGender(oSpeaker); string sStringToSpeak = "[mumbles]"; int nTalkVolume = TALKVOLUME_TALK; ActionSpeakString ( sStringToSpeak, nTalkVolume); if (iGender == GENDER_MALE) { AssignCommand ( oSpeaker, PlaySound("as_pl_belchingm1")); } if (iGender == GENDER_FEMALE) { AssignCommand ( oSpeaker, PlaySound("as_pl_ailingf2")); } }