Hi!
I have this dictionary here inside a module script:
local module = {}
module.Packs = {
["Naruto Pack"] = {
["Card1"] = "Naruto S1",
["Card2"] = "Sasuke S1",
["Card3"] = "Sakura S1",
["Card4"] = "Kakashi S1",
["Card5"] = "Gaara S1"
},
["One Piece Pack"] = {
["Card1"] = "Luffy S1",
["Card2"] = "Zoro S1",
["Card3"] = "Nami S1",
["Card4"] = "Robin S1",
["Card5"] = "Sanji S1"
},
["Dragon Ball Pack"] = {
["Card1"] = "Goku S1",
["Card2"] = "Gohan S1",
["Card3"] = "Krillin S1",
["Card4"] = "Piccolo S1",
["Card5"] = "Vegeta S1"
},
}
return module
I was wondering how I could retrieve the name of the tables inside. So “Naruto Pack”, “One Piece Pack” etc. Right now I can only get it to print the index.