something on unpack that I didn't see above is for nils is in order for it to properly unpack the table all the values should be assigned at one time like the following
local temp = { nil, 1, nil, nil, nil, "blah", whatever }
if they are assigned separately it would not unpack right but as a single declaration the following would work fine
local var1, var2, var3, var4, var5, var6, var7 = unpack( temp )
|