How to get Choicescript to determine the highest stat

Hello Vendetta,

Are you still active? I was wondering if you might be willing to use your enormous brain on an issue I’m puzzled by:

How do you get Choicescript to recognise the variable with the highest value. . . and then display it in your stats screen?