The {INT:Stored ships} variable in EDDI seems to be broken in 2.1.0 as it always evaluates to 'Not Set'. EDDI has shipyard variables such as {TXT:Stored ship n model} and where n is an integer for the stored ship. To get my own ship count, what I'm trying to do is this:
Set ShipCount = 0
Set x = 1
Loop while {EXP:{TXT:Stored ship x model} <> 'Not Set'}
increment x by 1
increment ShipCount by 1
End Loop
In the example above x represents a literal integer value as opposed to the letter 'x'. What I am trying to do is to make VoiceAttack evaluate the expression as the variable [Stored ship x model] as opposed to it coming out as literal text 'Stored ship x model' which never equals 'Not Set'.
I've already tried to build the variable name by setting a text variable which I change during the loop and also by building the variable name using concatenation. Actually, I'm not even sure you can use VoiceAttack in this manner. In any case, any further enlightenment on this issue would be greatly appreciated.