void main() { object oPC = GetPCSpeaker(); object oTarget = GetLocalObject(oPC, "dmfi_univ_target"); location lLocation = GetLocalLocation(oPC, "dmfi_univ_location"); string sConv = GetLocalString(oPC, "dmfi_univ_conv"); if (GetLocalInt(oPC, "Tens")) { SetLocalInt(oPC, "dmfi_univ_int", 10*GetLocalInt(oPC, "Tens") + 6); ExecuteScript("dmfi_execute", oPC); DeleteLocalInt(oPC, "Tens"); return; } else { if (sConv == "emote") AssignCommand(GetPCSpeaker(), ActionPlayAnimation(ANIMATION_LOOPING_DEAD_FRONT, 1.0, 99999.0)); else if(sConv == "dmw") { SetLocalInt(oPC, "dmfi_univ_int", 6); ExecuteScript("dmfi_execute", oPC); return; } else SetLocalInt(oPC, "Tens", 6); return; } }