@DomK435-legacy (DomK435) posted a new topic, subject "Need Help with Converting from a string to a non-string in tables". It read:

   Okay so in this example I'm trying to create tables inside of another table. I have to be able to get the name of the table that is to be created with a variable however when I want to put it into table.insert it interprets the variable name literally. As in if I do: table.insert(GROUP.grp.members) where grp is the variable of the actual table name. I am a noob so I have not a clue in what to do in this problem.
    [code] 
        function ply:InGroup()
            for id, group in pairs( GROUPS ) do
          if table.HasValue( group.members , self:SteamID() ) then
           return group --and true
          end
           return false
         end
        end
        function deleteGroup( ply , grp )
         if ply:IsValid then
          if !ply:InGroup = false then
           --We know they're in a group so we can set grp to be the group name and then retrieve it in the table location
           local grp = ply:InGroup
           if table.HasValue( effusion.GROUPS.grp.creator ) = { ply:SteamID() , ply:Nick() } then
             table.Empty( effusion.GROUPS.grp )
             effusion.GROUPS.grp = nil
             return true
           end 
           
           return false
           
          end
          
          return false
          
         end
         
         return false
         
        end
        
        
    [/code]

After which, @Netheous-legacy (Netheous) added

    Half of your code doesn't make sense and thus won't work.
    
    To be specific:
    
    http://puu.sh/qjw0Q/9d547ce7f7.png


{'source': 'discourse', 'url': 'https://forum.facepunch.com/t/need-help-with-converting-from-a-string-to-a-non-string-in-tables/227537', 'title': 'Need Help with Converting from a string to a non-string in tables', 'views': 224, 'has_accepted_answer': False, 'word_count': 212, 'like_count': 0, 'reply_count': 1, 'participant_count': 2, 'posts': 2, 'tags': '', 'author': '@DomK435-legacy (DomK435)', 'participants': '@DomK435-legacy (DomK435), @Netheous-legacy (Netheous)', 'image_url': [None], 'created_at': '2016-07-30T05:36:24.000Z', 'last_posted_at': '2016-07-30T07:32:58.000Z'}