You could enable tking..
Edit users deaths and frags after every kill and then send a message to the scoreboard to force it to update.
Set a message block to remove the 'xxx attacked a teammate' message.
Only other thing (I think) is the reduced damage to teammates. You could find or work out how much this is reduced by and reapply it using ham sandwich or fakedamage...