First :
create variable to store total kill
Total_kill[1-10] // 1 per player, 10 players
Next :
Create Trigger to update total kill
Unit - A unit dies.
set temp_integer = player number of (killing unit)
set Total_kill[temp_integer] = Total_kill[temp_integer] +1
Now :
at the end of fight, find out who have highest kill :
set highest_player_id = 1
for every number A from 1 to 10 do
if total_kill[A] > total_kill[highest_player_id] then
set highest_player_id = A
display message to everyone : playername(highest_player_id) has Highest Kill : total_kill[highest_player_id]