local args = {...} local o = {} for k, _ in pairs(_G[args[1]]) do table.insert(o, k) end print(table.concat(o, ","))