// ---------------------------------------------------------------------------
// 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/
// ---------------------------------------------------------------------------
// LastMan

sm_mode2 set iv

alias set_lm "sm_sayformat 0 200 100 -1 0.25 0 6 6 0.5 0.5 2"
alias set_sj "sm_sayformat 255 255 255 0.02 0.90 2 0.02 3 0.01 0.1 2"

sm_menu "LastMan\\y\\R{sm_mode2&i?ON:OFF}" "sm_mode2 {sm_mode2&i?remove:set} i"
sm_menu "Enemy remaining\\y\\R{sm_mode2&v?ON:OFF}" "sm_mode2 {sm_mode2&v?remove:set} v"


sm_do "{%.txtlm0=It's now up to you!}"
sm_do "{%.txtlm1=I hope you still have a healthpack :)}"
sm_do "{%.txtlm2=You are the only one left. Have fun!}"
sm_do "{%.txtlm3=You're slow! The rest of your team\\nis dead already!}"
sm_do "{%.txtlm4=if you pull this off you could be\\na candidate for the CPL}"
sm_do "{%.txtlm5=Your teammates seem to have gotten \\nthemselves perished.\\nHappy hunting.}"
sm_do "{%.txtlm6=Use the Force, Luke!}"
sm_do "{%.txtlm7=Only one left you are!\\nUse the Force you should!!  mmm?}"
sm_do "{%.txtlm8=You're the only one left..\\nNext time, stick with your team so you can\\ndie all at once.}"
sm_do "{%.txtlm9=The fate of your entire team\\nrests on your shoulders\\nNo pressure or anything!}"
// LastMan

sm_do "{%.last=0}"

sm_reg "SM_Lastman i 2"	"{%.last=1?:#}set_lm;sm_tell * \'{%.lastname} vs. {V3}\'" ade
sm_reg "SM_Lastman i 2" "{%.last=0?:#}{%.lastname={V3}}{%.last=1}set_lm;sm_tell * \'{V3}: {%.txtlm{R.10}}\'" ade
sm_reg "SM_RoundStart i 2" "{%.last=0}" bcde

// Enemy Remaining

sm_reg "SM_DeathMsg v 2" "{v.teamcount>0?:#}set_sj;sm_tell {k.team} \'{v.teamcount} {v.team}{{v.teamcount}!1?s}  remaining...\'" ade "5=0"