Board Thread:Lua Help/@comment-24688171-20170921124719/@comment-24688171-20170922043703

I probably got it!

local p = {} local data = { { ['name'] = "Piccaso", ['dob'] = "", ['pob'] = "Earth" }, { ['name'] = "Optimus Prime", ['dob'] = "", ['pob'] = "Cybertron" }, { ['name'] = "Kara Zor-El", ['dob'] = "", ['pob'] = "Krypton" }, { ['name'] = "Pennywise", ['dob'] = "", ['pob'] = "Earth" }, } function p.load(frame) local answer = "" for i,v in ipairs(data) do       if data[i]['pob'] == "Earth" then answer = answer .. data[i]['name'] end end return answer end return p