[Score] 0.0 to 10

Accepts 3 parameters, first is required, 2nd and 3rd are optional. A trailing optional expression after an = sign may also assign a value on the same line.


First optional comma separated parameter is the numeric format to be used to display the score, if left blank the format will be 0.0. The second optional comma separated parameter is a maximum value with a default of 10. The third optional comma separated parameter is a minimum value with a default of 0.

When executed this attribute will parse all items by spaces, and keep the first number-only-item it finds as the score to be placed at the front of the field value. If there are any other space-separated items they will be placed in the field following a | to ensure they are not used in the calculation. It is safe to have comments include numbers and minus signs providing they are part of a word that includes alpha characters.

This attribute makes it easy for a scribe of a judge to type in something like the following as it is called out by the judge:
mx-1 pk 6.2 nc

And have it automatically formatted as:
6.2 | mx-1 pk nc

When a trailing expression is not included, this attribute will execute on the destination field. When a trailing expression is used, that expression is solved and then the min, max, and format are applied to it and the result assigned to the destination field


[Score] 0.00, 100, 5 - Format to 2 decimal places, only keep values between 5 - 100 | any additional comments/info

Judge.Score [Score] 0.000, 100, 5 = (Comp * 0.75) + (Horse * 0.25)

Judge.Score [Score] = (Comp * 0.75) + (Horse * 0.25)