As topic says, how do you print a itemid & amount from a row in a table in lua?
Say i have:
What i want example: To print the secondList, second row, and the middle value of (2160, 3), meaning i want both the itemid and the amount.
Say i have:
Lua:
table = {
{
firstList = {
{{2160, 5}, {2160, 10}, {2160, 2}},
{{2160, 10}, {2160, 3}, {2160, 2}},
},
secondList = {
{{2160, 3}, {2160, 10}, {2160, 2}},
{{2160, 10}, {2160, 3}, {2160, 5}},
},
}}