MZ Need help displaying variable with Variable Gold Display (Visustella)

So I am using Visual Gold Display VisuStella MZ and I am trying to use a variable to display an amount of gold, but the variable isn't showing as a gold amount, but as text in the text box and not as a gold value.
It does work for normal numbers, but not variables.

image.png
image.png
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
So I did try out your suggestions and none of them work sadly.
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
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
I don't think I quite understand the meaning of "\V[n]\I[n]\V[n]\I[n]\V[n]\I[n]\G" since that would mean I would have to save each individual digit of the number as a different variable, and I'm not sure how to do that with the "Input Number" command of making that into a thing.
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?
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?
Yeah, complete silence
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?

Original thread: https://forums.rpgmakerweb.com/threads/need-help-displaying-variable-with-variable-gold-display-visustella.179121/