MZ Display Icon using a variable

I want to display an icon which is determined using a variable. I tried \i[\v[x]] but it does not work.
Is there anything else I could do/use to make this work?
Did you test it on the "Preview" or Debug mode button?
Actually I didn't know it works in normal text windows.
But that doesnt help me, since I want to use this Icon as an image used for an event. With VisuStellas Events and Movement Core you can insert <Icon: x> into the notetag, to display an icon. And there is my issue, using \v[x] does not work there.

Sorry if i've been too unspecific, but i wasn't aware that it made a difference here.
The pattern that the VisuStella notetag looks for has to have a number in it, so if you use \v[x] it won't pick it up as an icon notetag. Unfortunately, you can only use numbers for this at present.

Original thread: https://forums.rpgmakerweb.com/threads/display-icon-using-a-variable.134983/