if contains(value, match:"*") then len(value) else valueshould convert a string of ****s into its number; for a true converting back and forth you'd need a value that tells which type to return though, something like
if render_as_number() then
if contains(value, match:"*") then len(value) else value
if contains(value, match:"*") then value else for x from 1 to value do "*" where render_as_number := false in the main script, and := true in the style file of this specific template.
Forgot to mention I have the Rush Levels as a separate card field from the regular Levels. Would I need to make them a single field for those codes and where should I place them?
if rush_level is a different field then you can script it as
default: len(card.levels) or whatever the field name of the normal levels is. then if you change a card to this, it will convert to that number, and if you have a new card on this, you can type in the number