_unit = _this select 0
_killer = _this select 1

?(_unit ==p0): goto "kp0";
?(_unit ==p1): goto "kp1";
?(_unit ==p2): goto "kp2";
?(_unit ==p3): goto "kp3";
?(_unit ==p4): goto "kp4";
?(_unit ==p5): goto "kp5";
?(_unit ==p6): goto "kp6";
?(_unit ==p7): goto "kp7";
?(_unit ==p8): goto "kp8";
?(_unit ==p9): goto "kp9";


#kp0
gblalltargets = gblalltargets-[p0]
? (_killer==p1): scorep1=scorep1+1;
? (_killer==p2): scorep2=scorep2+1;
? (_killer==p3): scorep3=scorep3+1;
? (_killer==p4): scorep4=scorep4+1;
? (_killer==p5): scorep5=scorep5+1;
? (_killer==p6): scorep6=scorep6+1;
? (_killer==p7): scorep7=scorep7+1;
? (_killer==p8): scorep8=scorep8+1;
? (_killer==p9): scorep9=scorep9+1;

@alive p0
gblalltargets = gblalltargets+[p0]
exit


#kp1
gblalltargets = gblalltargets-[p1]
? (_killer==p0): scorep0=scorep0+1;
? (_killer==p2): scorep2=scorep2+1;
? (_killer==p3): scorep3=scorep3+1;
? (_killer==p4): scorep4=scorep4+1;
? (_killer==p5): scorep5=scorep5+1;
? (_killer==p6): scorep6=scorep6+1;
? (_killer==p7): scorep7=scorep7+1;
? (_killer==p8): scorep8=scorep8+1;
? (_killer==p9): scorep9=scorep9+1;

@alive p1
gblalltargets = gblalltargets+[p1]
exit


#kp2
gblalltargets = gblalltargets-[p2]
? (_killer==p1): scorep1=scorep1+1;
? (_killer==p0): scorep0=scorep0+1;
? (_killer==p3): scorep3=scorep3+1;
? (_killer==p4): scorep4=scorep4+1;
? (_killer==p5): scorep5=scorep5+1;
? (_killer==p6): scorep6=scorep6+1;
? (_killer==p7): scorep7=scorep7+1;
? (_killer==p8): scorep8=scorep8+1;
? (_killer==p9): scorep9=scorep9+1;

@alive p2
gblalltargets = gblalltargets+[p2]
exit


#kp3
gblalltargets = gblalltargets-[p3]
? (_killer==p1): scorep1=scorep1+1;
? (_killer==p2): scorep2=scorep2+1;
? (_killer==p0): scorep0=scorep0+1;
? (_killer==p4): scorep4=scorep4+1;
? (_killer==p5): scorep5=scorep5+1;
? (_killer==p6): scorep6=scorep6+1;
? (_killer==p7): scorep7=scorep7+1;
? (_killer==p8): scorep8=scorep8+1;
? (_killer==p9): scorep9=scorep9+1;

@alive p3
gblalltargets = gblalltargets+[p3]
exit


#kp4
gblalltargets = gblalltargets-[40]
? (_killer==p1): scorep1=scorep1+1;
? (_killer==p2): scorep2=scorep2+1;
? (_killer==p3): scorep3=scorep3+1;
? (_killer==p0): scorep0=score04+1;
? (_killer==p5): scorep5=scorep5+1;
? (_killer==p6): scorep6=scorep6+1;
? (_killer==p7): scorep7=scorep7+1;
? (_killer==p8): scorep8=scorep8+1;
? (_killer==p9): scorep9=scorep9+1;

@alive p4
gblalltargets = gblalltargets+[p4]
exit


#kp5
gblalltargets = gblalltargets-[p5]
? (_killer==p1): scorep1=scorep1+1;
? (_killer==p2): scorep2=scorep2+1;
? (_killer==p3): scorep3=scorep3+1;
? (_killer==p4): scorep4=scorep4+1;
? (_killer==p0): scorep0=scorep0+1;
? (_killer==p6): scorep6=scorep6+1;
? (_killer==p7): scorep7=scorep7+1;
? (_killer==p8): scorep8=scorep8+1;
? (_killer==p9): scorep9=scorep9+1;

@alive p0
gblalltargets = gblalltargets+[p0]
exit


#kp6
gblalltargets = gblalltargets-[p6]
? (_killer==p1): scorep1=scorep1+1;
? (_killer==p2): scorep2=scorep2+1;
? (_killer==p3): scorep3=scorep3+1;
? (_killer==p4): scorep4=scorep4+1;
? (_killer==p5): scorep5=scorep5+1;
? (_killer==p0): scorep0=scorep0+1;
? (_killer==p7): scorep7=scorep7+1;
? (_killer==p8): scorep8=scorep8+1;
? (_killer==p9): scorep9=scorep9+1;

@alive p6
gblalltargets = gblalltargets+[p6]
exit


#kp7
gblalltargets = gblalltargets-[p7]
? (_killer==p1): scorep1=scorep1+1;
? (_killer==p2): scorep2=scorep2+1;
? (_killer==p3): scorep3=scorep3+1;
? (_killer==p4): scorep4=scorep4+1;
? (_killer==p5): scorep5=scorep5+1;
? (_killer==p6): scorep6=scorep6+1;
? (_killer==p0): scorep0=scorep0+1;
? (_killer==p8): scorep8=scorep8+1;
? (_killer==p9): scorep9=scorep9+1;

@alive p7
gblalltargets = gblalltargets+[p7]
exit


#kp8
gblalltargets = gblalltargets-[p8]
? (_killer==p1): scorep1=scorep1+1;
? (_killer==p2): scorep2=scorep2+1;
? (_killer==p3): scorep3=scorep3+1;
? (_killer==p4): scorep4=scorep4+1;
? (_killer==p5): scorep5=scorep5+1;
? (_killer==p6): scorep6=scorep6+1;
? (_killer==p7): scorep7=scorep7+1;
? (_killer==p0): scorep0=scorep0+1;
? (_killer==p9): scorep9=scorep9+1;

@alive p8
gblalltargets = gblalltargets+[p8]
exit


#kp9
gblalltargets = gblalltargets-[p9]
? (_killer==p1): scorep1=scorep1+1;
? (_killer==p2): scorep2=scorep2+1;
? (_killer==p3): scorep3=scorep3+1;
? (_killer==p4): scorep4=scorep4+1;
? (_killer==p5): scorep5=scorep5+1;
? (_killer==p6): scorep6=scorep6+1;
? (_killer==p7): scorep7=scorep7+1;
? (_killer==p8): scorep8=scorep8+1;
? (_killer==p0): scorep0=scorep0+1;

@alive p9
gblalltargets = gblalltargets+[9]
exit











