Yeah.
http://paste.php.lv/7748?lang=cpp <- There is so much code to edit ^^
Did you understand what I was asking for?
Edit: Hmm... I took a look at stats_logging.sma. It uses function
log_message. So I just need to log that info I need (with function log_message ?) and then parse info?