Pastaland needs your help.
@M16 that is a part of the standard initiation ceremony for sauer players
Q: How do I see my kills, deaths, accuracy, score etc (with default client)?
@Shikijo Type /stats
@Shag, it's #stats.
round = [ split = (strreplace $arg1 "." " "); result (concatword (at $split 0) "." (substr (at $split 1) 0 $arg2)); ] print_stats = [ red = [ result "^fs^f3"; ] blue = [ result "^fs^f1"; ] frags = (getfrags); deaths = (getdeaths); acc = (getaccuracy); flags = (getflags); ldeaths = $deaths; if (= $ldeaths 0) [ ldeaths = 1; ] kpd = (round (divf $frags $ldeaths) 2) if (> $flags 0) [ flags = (concatword (blue) " Flags: " (red) $flags); ][ flags = ""; ] echo (concatword (blue) "Name: " (red) (getname) (blue) " Frags: " (red) $frags (blue) " Deaths: " (red) $deaths (blue) " Acc: " (red) $acc "%" (blue) " KpD: " (red) $kpd $flags); ] bind "Q" [ print_stats; ]
Type it into "autoexec.cfg", should work everywhere (binded to "q" key)
it's possible to show your stats in the gamehud. the result looks like this:
You just need to put the following code in your autoexec.cfg (or in another CFG file in the same folder with your autoexec, name it stats.cfg and link to it in the autoexec with the following line: "exec stats.cfg")
gamehud = [ result (getstats 0) ] getstats = [ frags = (getfrags) deaths = (getdeaths) acc = (getaccuracy) kpd = (substr (divf $frags (max $deaths 1)) 0 4) flags = (? (> (getmode) 10) (format " ^f4Flags: ^f7%1" (getflags)) "") bestfrags = 0 bestdeaths = 0 bestacc = 0 var_frags = (format "best_%1_%2_frags" (getmode) (mapname)) var_deaths = (format "best_%1_%2_deaths" (getmode) (mapname)) var_acc = (format "best_%1_%2_acc" (getmode) (mapname)) if (!=s (getalias $var_frags) "") [ // update map frags record if (> (getfrags) (getalias $var_frags)) [ alias $var_frags $frags alias $var_deaths $deaths alias $var_acc $acc ] bestfrags = (getalias $var_frags) bestdeaths = (getalias $var_deaths) bestacc = (getalias $var_acc) ] [ // init variables alias $var_frags 0 alias $var_deaths 0 alias $var_acc 0 ] result (format "^f4Stat: ^f7%1^f4/^f7%2 ^f4%3 ^f4(^f7%4%%^f4) ^f4Best: ^f7%5^f4/^f7%6 %7% %8" (getfrags) (getdeaths) $kpd (getaccuracy) $bestfrags $bestdeaths $flags) ]
You can change colors if you want: just change numbers in the last line of the script (for 'flags' it's 7th line) to something you prefer more.
here is the meaning of numbers:
green = ^f0 blue = ^f1 yellow = ^f2 red = ^f3 grey = ^f4 magenta = ^f5 orange = ^f6 white = ^f7
@M16 to be honest i aint seen him in server id suggest to tell him to go take his face foor a shit....he might leave you alone then lol
@M16 hihihihihi, assholiness, hrhkrhkrhkrhkrhrk