Im not sure I understand what you need, but you can easily access arays using variables by using the variable as parameter for the Array.At() function.
Let's say I have an array with levels and their titles and rewards.
["Welcome Level!", 10],
["Adventure Time", 25],
["Find the Treasure", 60],
["Trouble Ahead", 130],
["Final Battle", 270]
And a variable level that controls which level the player is.
Array.At(level, 0) would return the title for the current level.
Array.At(level, 1) would return the coins earned for finishing the current level.
So, when players are in level 0, they'll return thet title "Welcome Level!" and the reward 10 coins.
Hope this helps.