Hi.
I have been making a template in zennoposter were i get 5 values, I have converted those values into the correct integer format using reg exp. and javascript.
I do now look to return the variable with the lowest value, just like the Math.min(varA,VarB,varC) Except that i want to return the variable name itself to use it in a switch to decide my next action.
Maybe there is some easier way also, i tried to store values in a table to search but failed to do so.
Thanks
I have been making a template in zennoposter were i get 5 values, I have converted those values into the correct integer format using reg exp. and javascript.
I do now look to return the variable with the lowest value, just like the Math.min(varA,VarB,varC) Except that i want to return the variable name itself to use it in a switch to decide my next action.
Maybe there is some easier way also, i tried to store values in a table to search but failed to do so.
Thanks