Grab tables name

I usually don’t have troubles with scripts and all of that, but for some reason I’m having a bit of issues with this specific one.

It is supposed to put “Apple” as the name of the frame, but instead gives me the (string expected, got table) warning.

The shopkeeper currently is “Mira”
Here you can see the shopdata

I’ve tried tostring with no help, unpacking etc.
I’ve been searching a bit around devforum to no assistance.

pretty sure the i variable is the name

1 Like