Just to show off a little
I think Stefan was very clever in his design of move options, showstats and other similar functions. He relied on the linear independance of x,x^2,...x^n to guarantee that no matter what combination of options you choose, you never get two that have the same sum.
Props also to Kai, for I recall he used the same property for one of his scripts.