As of right now I am using table.insert(table, position in table, item)
to add items to a table, and using a for loop to add things from another table to it, but I also have to add a counter to it so that for the position in the table it is always one more than the last. This seems tedious to me (even if it is only a couple lines) so I was wondering if there was anything similar to appendItem() from javascript that I just don't know about. I also couldn't find anything about it in the lua documentation. Thanks for any answers!