@name  Combine Voice
@inputs 
@outputs Use
@persist R:array Q:array
@trigger 
interval(10)


Use = owner():keyUse()


if ($Use & Use) {
soundStop(0)
owner():soundPlay(0,0,R:string(randint(0,R:count())))
"say MEDIC!"
}
"say MEDIC!"
if (first()) {
R = array(
"vo/scout_medic01.wav",
"vo/scout_medic02.wav",
"vo/scout_medic03.wav")
}


if(owner():keyAttack1()){
soundStop(0)
owner():soundPlay(0,0,Q:string(randint(0,Q:count())))
"say MEDIC!"
}


if (first()) {
Q = array(
"vo/scout_domination01.wav",
"vo/scout_domination02.wav",
"vo/scout_domination03.wav",
"vo/scout_domination04.wav",
"vo/scout_domination05.wav",
"vo/scout_domination06.wav",
"vo/scout_domination07.wav",
"vo/scout_domination08.wav",
"vo/scout_domination09.wav")
}
# Credit to Roflc0pter for some code 
    #Change to 0 If you want it to be dupeable
AntiDupe=0


if (AntiDupe==1) {Dupe="Enabled"}
else{Dupe="Disabled"}
if (AntiDupe==1&(duped())) {selfDestructAll()
hint("No Duping this ! >:D",7)
}


