If it is for an earlier version of COD, like COD1 or UO, you are out of luck. The game engine for those games wont support persistent stats of any kind.
Just write what you want to the log-file, parse it with B3, communicate changes back through rcon by setting cvar's
Or extend the script engine functions.
I did it the last way, because i wanted mysql-performance.