As for teamkilling bots, you can try adding the heal code to the handweapon ai of all the weapons they use. (find the code on the medpack). I would think that if they think a weapon heals someone they would try and use it on a team mate. If the weapon actually kills, they would be team killing I would assume.