Actually, I don't know if this is feasible under scripting alone.
Or if you really really want this output, you could store it as a global variable, and transform it under osiris.
The display of informations has been one of the big turnover in my modding attempts.