You have mta.stats.mrc loaded
make sure it says in the begining
;on *:SIGNAL:mta.startrace: {
; if ($3 == 0) {
; var %a = $calc($readini($scriptdir $+ mta.stats.ini,n,$mta.races($1,$2),times) + 1),%b = $calc($readini($scriptdir $+ mta.stats.ini,n,ALL,times) + 1)
; !writeini -n $+(",$scriptdir,mta.stats.ini,") ALL times %b
; !writeini -n $+(",$scriptdir,mta.stats.ini,") $+(",$mta.races($1,$2),") times %a
; mta.text $1 Map: $mta.races($1,$2) Played: $+(%a,/,%b) times ( $+ $round($calc(100 / %b * %a),2) $+ % $+ )
; }
;}