Thanks for the info. I got it working perfectly. Now I have a new issue where I have a few nested tables and at the end is a boolean, I ca'nt seem to check this value.
Code:
for key, value in pairs(table.table2.table3) do
if(value == true) then
d('true')
elseif(value == false) then
d('false')
end
end
There is also the issue of concatenating values returned from a table. I'm assuming tostring() might be used but even so, it does nothing to get the following functioning as I expected.
Code:
local str = ""
for key, value in pairs(table) do
str += value
end
Lastly, is there really no way to send information to the chat through an add on? Of course d() but no one will see messages you log with a d(). The only thing I can think of (and have yet to test) is adding text to the input line of the chat and letting the user press enter.