Board Thread:Lua Help/@comment-8335270-20150302041119

Hello, just wondering what I did wrong here:

http://warframe.wikia.com/wiki/Module:ChickenTest

Function call:

The template should reference a data table, replace e, ee, eh with their respective image and return the concatenated chain of images.

With the code above, the while loop only run once, and returns only one image for "ee"

So far I've tried changing "i=i+2" to "i=i+1" and it seems to work as intended, returning multiple images. I've also tried removing f_char and use humanwords:sub(i,i), but still got the same result.

Thanks, and if there's a better way to do this please do enlighten me. 