@name Zombiecidal 
@inputs 
@outputs 
@persist 
@trigger 
interval(500)
findInSphere(entity():pos(),1000)
findIncludeClass("npc_zombie")
findIncludeClass("npc_fastzombie")
findIncludeClass("npc_zombine")
findIncludeClass("npc_poisonzombie")
findIncludeClass("headcrab")
Hack=findToArray()

for(C=1,Hack:count()){
    Zom=Hack[C,entity]
    if(!Zom:weapon()&Zom:owner()==owner()){
        Zom:npcRelationship("npc_zombie","hate",999)
        Zom:npcRelationship("npc_fastzombie","hate",999)
        Zom:npcRelationship("npc_zombine","hate",999)
	       Zom:npcRelationship("player","like",999)
        Zom:npcRelationship("npc_poisonzombie","hate",999)
        Zom:npcRelationship("npc_headcrab","hate",999)
        Zom:npcRelationship("npc_headcrab_fast","hate",999)
        Zom:npcRelationship("npc_headcrab_black","hate",999)
        #Zom:npcGiveWeapon("rpg")
    }
}
