Bug? String issue (vtank expression)

Unofficial support for the creating and editing of metas.
yaroz
Moderator
Posts: 129

Bug? String issue (vtank expression)

Post #1 »

Ok.. so I'm trying to build a string using expressions..

\/vt echo You have +cstr[getcharintprop[333]]+\ \\ +cstr[5]+\ Aura of Valor Augmentations
outputs:
You have 3 \ 5Aura of Valor Augmentations <-- notice there is no space between the 5 and A.

However, if I do
\/vt echo You have +cstr[getcharintprop[333]]+\ \\ +cstr[5]+\ Aura of Valor Augmentations +cstr[0]
it outputs this:
You have 3 \ 5 Aura of Valor Augmentations 0 <-- there is a space in there

I don't know why that's not working right, so maybe it's a bug? If I'm not doing it right, please let me know.

-yaroz

Virindi
Posts: 11

Post #2 »

This is indeed a bug. The last token of every expression is trimmed. This will be fixed in the next version.