// ---------------------------------------------------------------------------
// StatsMe 2.8.3 Config Pack [16 June, 2004]
// ---------------------------------------------------------------------------
// This file is part of StatsMe (See README for more information).
// Copyright 2002 - 2004 UnitedAdmins (www.unitedadmins.com)
// Project originally created by OLO (http://olo.counter-strike.pl)
// ---------------------------------------------------------------------------
// Please read the manual and the forums carefully before altering this file!
// The Manual is located at http://docs.unitedadmins.com/statsme/
// The Forum can be found at http://forums.unitedadmins.com/
// ---------------------------------------------------------------------------
// Attackers & Victims list

sm_mode set mn

alias set_al "sm_sayformat 220 80 0 0.55 0.35 0 6 12 1 2 3" //Attackers list
alias set_vl "sm_sayformat 0 80 220 0.55 0.60 0 6 12 1 2 4" //Victims list


sm_menu "Attackers List\y\R{sm_mode&m?ON:OFF}" "sm_mode {sm_mode&m?remove:set} m"
sm_menu "Victims List\y\R{sm_mode&n?ON:OFF}" "sm_mode {sm_mode&n?remove:set} n"



// Victims and Attackers list format
sm_victims "{p.v.name} -- {p.a.hits} hits(s) / {p.a.damage} dmg{p.a.name? / $}"
sm_attackers "{p.k.name} -- {p.k.a.hits} hits(s) / {p.k.a.damage} dmg{p.k.a.name? / $}"

// Victims and Attackers
sm_reg "SM_DeathMsg n" "set_vl;sm_tell #{v.uid} \'Victims:\\n{v.victims?$:#}\'" ade
sm_reg "SM_DeathMsg m" "set_al;sm_tell #{v.uid} \'Attackers{v.k.name? -- $}:\\n{v.attackers?$:#}\'" ade
sm_reg "SM_RoundEnd n" "set_vl;sm_tell #{p.uid} \'Victims:\\n{p.victims?$:#}\'" bdeg
sm_reg "SM_RoundEnd m" "set_al;sm_tell #{p.uid} \'Attackers{p.k.name? -- $}:\\n{p.attackers?$:#}\'" bdeg