Variable Flags
Syntax:{<variable> <flags>}
Variable flags are added to the end of variables to change the output.
Flags
Examples UnderneathString Flags | Description | |
---|---|---|
-uc | -uppercase | Makes the result uppercase |
-lc | -lowercase | Makes the result lowercase |
-tc | -titlecase | Capitalizes the first letter of each word, lowercases the rest |
-sc | -smallcaps | Turns all lowercase characters to small caps |
-nd | -nodashes | Replaces dashes and underscores with spaces |
Number Flags | Description | |
---|---|---|
-p<precision> | -precision | How many digits after the period |
-s<scale> | -scale | How much to scale the value by |
Stat Flag | Description | |
---|---|---|
-f | -formatted | Uses the formatter for that stat used in the Statistics Screen |
Examples
Profile File
profile1.txt
String Flags
&6Uppercase: &e{dimension -uc}
&6Lowercase: &e{dimension -lc}
&6Titlecase: &e{dimension -tc}
&6Titlecase w/ smallcaps: &e{dimension -tc -sc}
&6Titlecase w/ nodashes: &e{dimension -tc -nd}
Precision Flag
&6Default: &e{x}
&62 Points: &e{x -p2}
&60 Points: &e{x -p0}
Scale Flag (walk_one_cm)
&6No Scale: &e{stat:walk_one_cm}
&6x1/100: &e{stat:walk_one_cm -s1/100}
&6x0.001: &e{stat:walk_one_cm -s0.001}
Formatted (walk_one_cm)
&e{stat:walk_one_cm -f}