octascript: remove std.table.maxn and add "unpack" to arrays