Try turning your 's' to capital letter
EDIT: Goldshort -> GoldShort
EDIT2: Not sure if that helps. EDIT3: Maybe it's not coded to accept variables.
EDIT4: Maybe you can try before the text box make your own calculations depending on your gold amount how it should be showed and then show it with multiple variable and icon text codes LOL
My solution was to give it in a format with just standard rpg maker text codes, after making the calculations with your gold amount (don't have that plugin so can't check if there's another way to make it work).
What do you mean it didn't work?
\V[n]\I[n]\V[n]\I[n]\V[n]\I[n]\G
If you google how to get the size of your number and the digits in javascript, you should find examples. But anyway, my suggestion was a workaround that's a bit complex. Did you try asking VisuStella discord if there's a simple way to get what you want?
You can do something like this, but if you want it to not show 0-values (EDIT: middle zeroes), you have to make the conditionals more complicated. Or you can try to check for a plugin that lets you run code in text messages and use it to draw just the numbers and icons you want.
◆Input Number:#0011, 4 digits
◆Script:$gameVariables.setValue(12, $gameVariables.value(11).toString()[0])
: :$gameVariables.setValue(13, $gameVariables.value(11).toString()[1])
: :$gameVariables.setValue(14, $gameVariables.value(11).toString()[2])
: :$gameVariables.setValue(15, $gameVariables.value(11).toString()[3])
◆If:#0011 ≥ 1000
◆Text:None, None, Window, Bottom
: :You are selling for \v[12]\I[3]\v[13]\I[2]\v[14]\I[1]\v[15]\G
◆
:Else
◆If:#0011 ≥ 100
◆Text:None, None, Window, Bottom
: :You are selling for \v[12]\I[2]\v[13]\I[1]\v[14]\G
◆
:Else
◆If:#0011 ≥ 10
◆Text:None, None, Window, Bottom
: :You are selling for \v[12]\I[1]\v[13]\G
◆
:Else
◆If:#0011 ≥ 0
◆Text:None, None, Window, Bottom
: :You are selling for \v[12]\G
◆
:End
◆
:End
◆
:End
◆
:End
Why do you want to use gold as variable? The value of gold is already similar to variable and you can use that to determine how much you need to ...buy things or estimate?