If you have tools.cfg it's pretty easy:
People might not like how spammy it gets so you may wanna code in a simple on/off switch. ;)
[SELECT ALL] Code:
alias k_list [fragged gibbed slashed headshot splattered]
alias check_kd [
loop ckd 5 [
if_conline_has (format "you %1" (at $k_list $ckd)) but_not "teammate" [
DO STUFF IF YOU GET A KILL
] []
]
if (alive) [] [DO STUFF IF YOU DIE]
]
add2conloop [check_kd]
People might not like how spammy it gets so you may wanna code in a simple on/off switch. ;)