// stats.cfg: // (C) 2010 David "srbs" Forrest, ZLIB license // somerandombystander (at) gmail (dot) com // http://www.opensource.org/licenses/zlib-license.php //change "F9" to whatever key you want your stats to be bound to bind "F9" [ echo (getstats 1) ] gamehud = [ result (getstats 0) ] //gamehud = [] //remove the '//' above to disable the hud text // (getstats ) getstats = [ result (format "%1^f1Frags: ^f3%2 ^f1Deaths: ^f3%3 ^f1Acc: ^f3%4%% ^f1KpD: ^f3%5%6" (? $arg1 (format "^f1Name: ^f3%1 " (getname))) (getfrags) (getdeaths) (getaccuracy) (substr (divf (getfrags) (max (getdeaths) 1)) 0 4) (? (> (getmode) 10) (concat " ^f1Flags:^f3" (getflags)))) ]