@name Kill Taunt
@inputs
@outputs
@persist KTaunts:array DTaunts:array
@trigger 
@model models/Items/AR2_Grenade.mdl
runOnTick(1)
#Pl=players()
#for(C=1,Pl:count()){
HL2=1 #enable HL2 taunts
TF2=1 #enable TF2 taunts
CSS=1 #enable CSS taunts
    O=owner()
    Frag=O:frags()
    Death=O:deaths()
    Sex="male"
    if(first()){
        if(HL2){
        #Kill Taunts
            KTaunts:pushString("vo/npc/male02/reb2_killshots22.wav")
            KTaunts:pushString("vo/npc/male02/reb2_antlions07.wav")
            KTaunts:pushString("vo/npc/male02/reb2_buddykilled13.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/answer01.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/dontforgetreload01.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/evenodds.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/fantastic02.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/fantastic01.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/finally.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/gordead_ans18.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/gordead_ques11.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/gotone01.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/gotone02.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/incoming02.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/likethat.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/nice.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/oneforme.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/question05.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/sorry01.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/sorry02.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/sorry03.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/takecover02.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/vanswer07.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/watchout.wav")
            KTaunts:pushString("vo/npc/"+Sex+"01/yeah02.wav")
            
            #Death Taunts
            DTaunts:pushString("vo/npc/"+Sex+"01/answer02.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/answer03.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/gordead_ans02.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/gordead_ans06.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/gordead_ans07.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/gordead_ques02.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/gordead_ques14.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/help01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/hitingut01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/hitingut02.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/holddownspot01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/holddownspot02.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/illstayhere01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/imstickinghere01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/moan01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/moan02.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/myarm01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/myarm02.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/myleg01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/myleg02.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/no01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/no02.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/notthemanithought01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/question01.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/question11.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/question13.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/vanswer04.wav")
            DTaunts:pushString("vo/npc/"+Sex+"01/vquestion02.wav")
        }
        if(TF2){
            KTaunts:pushString("vo/taunts/demoman_taunts07.wav")
            KTaunts:pushString("vo/taunts/demoman_taunts08.wav")
            KTaunts:pushString("vo/taunts/demoman_taunts09.wav")
            KTaunts:pushString("vo/taunts/demoman_taunts10.wav")
            KTaunts:pushString("vo/taunts/demoman_taunts11.wav")
            KTaunts:pushString("vo/taunts/demoman_taunts15.wav")
            KTaunts:pushString("vo/taunts/demoman_taunts16.wav")
            KTaunts:pushString("vo/taunts/engineer_taunts03.wav")
            KTaunts:pushString("vo/taunts/heavy_taunts01.wav")
            KTaunts:pushString("vo/taunts/heavy_taunts02.wav")
            KTaunts:pushString("vo/taunts/heavy_taunts04.wav")
            KTaunts:pushString("vo/taunts/heavy_taunts05.wav")
            KTaunts:pushString("vo/taunts/heavy_taunts07.wav")
            KTaunts:pushString("vo/taunts/heavy_taunts08.wav")
            KTaunts:pushString("vo/taunts/heavy_taunts15.wav")
            KTaunts:pushString("vo/taunts/medic_taunts02.wav")
            KTaunts:pushString("vo/taunts/medic_taunts03.wav")
            KTaunts:pushString("vo/taunts/medic_taunts05.wav")
            KTaunts:pushString("vo/taunts/medic_taunts12.wav")
            KTaunts:pushString("vo/taunts/pyro_taunts01.wav")
            KTaunts:pushString("vo/taunts/pyro_taunts04.wav")
            KTaunts:pushString("vo/taunts/scout_taunts04.wav")
            KTaunts:pushString("vo/taunts/scout_taunts07.wav")
            KTaunts:pushString("vo/taunts/scout_taunts09.wav")
            KTaunts:pushString("vo/taunts/sniper_taunts04.wav")
            KTaunts:pushString("vo/taunts/sniper_taunts09.wav")
            KTaunts:pushString("vo/taunts/sniper_taunts12.wav")
            KTaunts:pushString("vo/taunts/sniper_taunts19.wav")
            KTaunts:pushString("vo/taunts/soldier_taunts02.wav")
            KTaunts:pushString("vo/taunts/soldier_taunts09.wav")
            KTaunts:pushString("vo/taunts/soldier_taunts10.wav")
            KTaunts:pushString("vo/taunts/soldier_taunts11.wav")
            KTaunts:pushString("vo/taunts/soldier_taunts14.wav")
            KTaunts:pushString("vo/taunts/soldier_taunts17.wav")
            KTaunts:pushString("vo/taunts/spy_taunts05.wav")
            KTaunts:pushString("vo/taunts/spy_taunts06.wav")
            KTaunts:pushString("vo/taunts/spy_taunts09.wav")
            KTaunts:pushString("vo/taunts/spy_taunts10.wav")
            KTaunts:pushString("vo/taunts/spy_taunts13.wav")
            KTaunts:pushString("vo/taunts/spy_taunts16.wav")
            KTaunts:pushString("vo/taunts/spy_taunts02.wav")
            
            DTaunts:pushString("vo/taunts/engineer_taunts04.wav")
            DTaunts:pushString("vo/taunts/engineer_taunts05.wav")
            DTaunts:pushString("vo/taunts/engineer_taunts06.wav")
            DTaunts:pushString("vo/taunts/engineer_taunts11.wav")
            DTaunts:pushString("vo/taunts/engineer_taunts12.wav")
            DTaunts:pushString("vo/taunts/heavy_taunts03.wav")
            DTaunts:pushString("vo/taunts/heavy_taunts06.wav")
            DTaunts:pushString("vo/taunts/heavy_taunts16.wav")
            DTaunts:pushString("vo/taunts/medic_taunts06.wav")
            DTaunts:pushString("vo/taunts/medic_taunts14.wav")
            DTaunts:pushString("vo/taunts/medic_taunts15.wav")
            DTaunts:pushString("vo/taunts/medic_taunts16.wav")
            DTaunts:pushString("vo/taunts/pyro_taunts02.wav")
            DTaunts:pushString("vo/taunts/pyro_taunts03.wav")
            DTaunts:pushString("vo/taunts/scout_taunts02.wav")
            DTaunts:pushString("vo/taunts/scout_taunts03.wav")
            DTaunts:pushString("vo/taunts/scout_taunts06.wav")
            DTaunts:pushString("vo/taunts/scout_taunts08.wav")
            DTaunts:pushString("vo/taunts/scout_taunts10.wav")
            DTaunts:pushString("vo/taunts/sniper_taunts10.wav")
            DTaunts:pushString("vo/taunts/sniper_taunts11.wav")
            DTaunts:pushString("vo/taunts/sniper_taunts14.wav")
            DTaunts:pushString("vo/taunts/sniper_taunts18.wav")
            DTaunts:pushString("vo/taunts/soldier_taunts03.wav")
            DTaunts:pushString("vo/taunts/soldier_taunts05.wav")
            DTaunts:pushString("vo/taunts/soldier_taunts06.wav")
            DTaunts:pushString("vo/taunts/soldier_taunts12.wav")
            DTaunts:pushString("vo/taunts/soldier_taunts15.wav")
            DTaunts:pushString("vo/taunts/spy_taunts03.wav")
            DTaunts:pushString("vo/taunts/spy_taunts04.wav")
            DTaunts:pushString("vo/taunts/spy_taunts07.wav")
            DTaunts:pushString("vo/taunts/spy_taunts11.wav")
            
        }
        if(CSS){
            KTaunts:pushString("bot/and_thats_how_its_done.wav")
            KTaunts:pushString("bot/area_clear.wav")
            KTaunts:pushString("bot/area_secure.wav")
            KTaunts:pushString("bot/come_to_papa.wav")
            KTaunts:pushString("bot/defusing_bomb_now.wav")
            KTaunts:pushString("bot/defusing_bomb.wav")
            KTaunts:pushString("bot/do_not_mess_with_me.wav")
            KTaunts:pushString("bot/dont_worry_hell_get_it.wav")
            KTaunts:pushString("bot/dropped_him.wav")
            KTaunts:pushString("bot/enemy_down.wav")
            KTaunts:pushString("bot/enemy_down2.wav")
            KTaunts:pushString("bot/got_him.wav")
            KTaunts:pushString("bot/got_the_sniper.wav")
            KTaunts:pushString("bot/got_the_sniper2.wav")
            KTaunts:pushString("bot/hes_broken.wav")
            KTaunts:pushString("bot/hes_dead.wav")
            KTaunts:pushString("bot/hes_done.wav")
            KTaunts:pushString("bot/hes_down.wav")
            KTaunts:pushString("bot/i_am_dangerous.wav")
            KTaunts:pushString("bot/i_am_on_fire.wav")
            KTaunts:pushString("bot/i_got_more_where_that_came_from.wav")
            KTaunts:pushString("bot/i_see_our_target.wav")
            KTaunts:pushString("bot/yesss2.wav")
            KTaunts:pushString("bot/yesss.wav")
            
            
            DTaunts:pushString("bot/aww_man.wav")
            DTaunts:pushString("bot/bombs_on_the_ground.wav")
            DTaunts:pushString("bot/bombs_on_the_ground_here.wav")
            DTaunts:pushString("bot/bombsite_secure_ready_for_you.wav")
            DTaunts:pushString("bot/come_out_wherever_you_are.wav")
            DTaunts:pushString("bot/come_out_and_fight_like_a_man.wav")
            DTaunts:pushString("bot/cut_it_out.wav")
            DTaunts:pushString("bot/hang_on_i_heard_something.wav")
            DTaunts:pushString("bot/heading_to_the_escape_zone.wav")
            DTaunts:pushString("bot/help.wav")
            DTaunts:pushString("bot/hey.wav")
            DTaunts:pushString("bot/hey2.wav")
            DTaunts:pushString("bot/hold_your_fire.wav")
            DTaunts:pushString("bot/hostage_down.wav")
            DTaunts:pushString("bot/i_cant_see.wav")
            DTaunts:pushString("bot/i_could_use_some_help.wav")
            DTaunts:pushString("bot/i_could_use_some_help_over_here.wav")
            DTaunts:pushString("bot/i_have_the_hostages.wav")
            DTaunts:pushString("bot/i_hear_something.wav")
            DTaunts:pushString("bot/i_hear_them.wav")
            DTaunts:pushString("bot/im_going_to_wait_here.wav")
            DTaunts:pushString("bot/im_in_trouble.wav")
            DTaunts:pushString("bot/im_waiting_here.wav")
            DTaunts:pushString("bot/they_got_me_pinned_down_here.wav")
        }
    }
    
    if(changed(Frag)){
        Rand=randint(1,KTaunts:count())
        O:soundPlay(1,0,KTaunts[Rand,string])
    }
    if(changed(Death)){
        Rand=randint(1,DTaunts:count())
        O:soundPlay(1,0,DTaunts[Rand,string])
    }
#}
