66 773
contributi
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 157: | Riga 157: | ||
--myResult = myResult .. '* This is result #' .. num .. '\n' | --myResult = myResult .. '* This is result #' .. num .. '\n' | ||
for property, data in pairs( row ) do | for property, data in pairs( row ) do | ||
if property == "Personaggio" | if property == "Personaggio" then | ||
table.insert(Characters, data) | if type(data) == 'table' then | ||
for _, Character in pairs(data) do | |||
if Characters[data] == nil then | |||
table.insert(Characters, data) | |||
end | |||
end | |||
else | |||
if Characters[data] == nil then | |||
table.insert(Characters, data) | |||
end | |||
end | |||
end | end | ||
end | end | ||
end | end | ||
end | end | ||
return p.RecurringList(Characters, Series) | |||
--return table.concat(Results, string.char(10)) | --return table.concat(Results, string.char(10)) | ||
end | end |