Max script

I’ve created a model and wrote a maxscript to get all vertex and write it to file. But the problem is that the vertex is not arranged in such way that rendering in OpenGL using GL_TRIANGLE_STRIP.

Help!

Got the answer.