insert function in lua code example
Example 1: lua insert table into table
table.insert(tabletoaddto, pos:num, tabletoinsert)
Example 2: Lua array add item
local tbl = {}
tbl[1] = "Hello World"
table.insert(tabletoaddto, pos:num, tabletoinsert)
local tbl = {}
tbl[1] = "Hello World"