@name Anti Prop Kill 2
@inputs 
@outputs 
@persist 
@trigger 
runOnDeath(1)

if (!lastDeathInflictor():isPlayer() & !first()) {
    ID = lastDeathInflictor():id()
    Killer = entity(ID):owner()
    Victim = lastDeath()
    printColor(teamColor(Killer:team()),Killer:name(),vec(255,0,0)," has prop killed",teamColor(Victim:team())," "+Victim:name(),vec(255,0,0),".")
}
