@name TF2 Robot Sounds
@persist [Soldier Demo Play]:array
@model models/weapons/w_models/w_toolbox.mdl
if(first()){
 runOnTick(1)  
 soundPlay(20,0,"/vo/engineer_autobuildingsentry0"+round(random(1,2))+".wav")
#Arrays
 Soldier[1,string]="/vo/mvm/norm/soldier_mvm_robot01.mp3"
 Soldier[2,string]="/vo/mvm/norm/soldier_mvm_robot02.mp3"
 Soldier[3,string]="/vo/mvm/norm/soldier_mvm_robot04.mp3"
 Soldier[4,string]="/vo/mvm/norm/soldier_mvm_robot04.mp3"
 Soldier[5,string]="/vo/mvm/norm/soldier_mvm_robot05.mp3"
 Soldier[6,string]="/vo/mvm/norm/soldier_mvm_robot06.mp3"
 Soldier[7,string]="/vo/mvm/norm/soldier_mvm_robot07.mp3"
 Soldier[8,string]="/vo/mvm/norm/soldier_mvm_robot08.mp3"
 Soldier[9,string]="/vo/mvm/norm/soldier_mvm_robot09.mp3"
 Soldier[10,string]="/vo/mvm/norm/soldier_mvm_robot10.mp3"
 Soldier[11,string]="/vo/mvm/norm/soldier_mvm_robot11.mp3"
 Soldier[12,string]="/vo/mvm/norm/soldier_mvm_robot12.mp3"
 Soldier[13,string]="/vo/mvm/norm/soldier_mvm_robot13.mp3"
 Soldier[14,string]="/vo/mvm/norm/soldier_mvm_robot14.mp3"
 Soldier[15,string]="/vo/mvm/norm/soldier_mvm_robot15.mp3"
 Soldier[16,string]="/vo/mvm/norm/soldier_mvm_robot16.mp3"
 Soldier[17,string]="/vo/mvm/norm/soldier_mvm_robot17.mp3"
 Soldier[18,string]="/vo/mvm/norm/soldier_mvm_robot18.mp3"
 Soldier[19,string]="/vo/mvm/norm/soldier_mvm_robot19.mp3"
 Soldier[20,string]="/vo/mvm/norm/soldier_mvm_robot20.mp3"
 Soldier[21,string]="/vo/mvm/norm/soldier_mvm_robot21.mp3"
 Soldier[22,string]="/vo/mvm/norm/soldier_mvm_robot22.mp3"
 Soldier[23,string]="/vo/mvm/norm/soldier_mvm_robot23.mp3"
 Soldier[24,string]="/vo/mvm/norm/soldier_mvm_robot24.mp3"
 Soldier[25,string]="/vo/mvm/norm/soldier_mvm_robot25.mp3"
 Soldier[26,string]="/vo/mvm/norm/soldier_mvm_robot26.mp3"
 Soldier[27,string]="/vo/mvm/norm/soldier_mvm_robot27.mp3"
 Soldier[28,string]="/vo/mvm/norm/soldier_mvm_robot28.mp3"
 Soldier[29,string]="/vo/mvm/norm/soldier_mvm_robot29.mp3"
 
 Demo[1,string]="/vo/mvm/norm/demoman_mvm_cheers01.mp3"
 Demo[2,string]="/vo/mvm/norm/demoman_mvm_cheers02.mp3"
 Demo[3,string]="/vo/mvm/norm/demoman_mvm_cheers03.mp3"
 Demo[4,string]="/vo/mvm/norm/demoman_mvm_cheers04.mp3"
 Demo[5,string]="/vo/mvm/norm/demoman_mvm_cheers05.mp3"
 Demo[6,string]="/vo/mvm/norm/demoman_mvm_cheers06.mp3"
 Demo[7,string]="/vo/mvm/norm/demoman_mvm_cheers07.mp3"
 Demo[8,string]="/vo/mvm/norm/demoman_mvm_cheers08.mp3"
 Demo[9,string]="/vo/mvm/norm/demoman_mvm_cheers09.mp3"
 Demo[10,string]="/vo/mvm/norm/demoman_mvm_cheers10.mp3"
 Demo[11,string]="/vo/mvm/norm/demoman_mvm_cheers11.mp3"
 Demo[12,string]="/vo/mvm/norm/demoman_mvm_battlecry01.mp3"
 Demo[13,string]="/vo/mvm/norm/demoman_mvm_battlecry02.mp3"
 Demo[14,string]="/vo/mvm/norm/demoman_mvm_battlecry03.mp3"
 Demo[15,string]="/vo/mvm/norm/demoman_mvm_battlecry04.mp3"
 Demo[16,string]="/vo/mvm/norm/demoman_mvm_battlecry05.mp3"
 Demo[17,string]="/vo/mvm/norm/demoman_mvm_battlecry06.mp3"
 Demo[18,string]="/vo/mvm/norm/demoman_mvm_battlecry07.mp3"
 Demo[19,string]="/vo/mvm/norm/demoman_mvm_autocappedintelligence01.mp3"
 Demo[19,string]="/vo/mvm/norm/demoman_mvm_autocappedintelligence02.mp3"
 Demo[19,string]="/vo/mvm/norm/demoman_mvm_autocappedintelligence03.mp3"
 Demo[20,string]="/vo/mvm/norm/demoman_mvm_eyelandertaunt01.mp3"
 Demo[21,string]="/vo/mvm/norm/demoman_mvm_eyelandertaunt02.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish01.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish02.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish03.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish04.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish05.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish06.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish07.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish08.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish09.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish10.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish11.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish12.mp3"
 Demo[22,string]="/vo/mvm/norm/demoman_mvm_gibberish13.mp3"


Play = Soldier
}

if(changed(owner():keyUse())){
 if(owner():keyUse()){
    Rand = Play[round(random(1,Play:count())),string]
    owner():soundPlay(1,0,Rand)
}
}

if(changed(owner():keyReload())){
 if(owner():keyReload()){  
    soundStop(1)
}   
}
