You need to use the [] notation for tables, and concatenate the first part of the key with the index, then call that value which is the function returned by that expression.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
You need to use the [] notation for tables, and concatenate the first part of the key with the index, then call that value which is the function returned by that expression.
Wow, crazy.
Thanks for the help. I always knew there was a better way than doing my dumbass if stack.
Alternatively, if you'd just populate your map table with integer indices, you could then use map[n]() instead, without any concatenating.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.