Btw, Welcome to the Forum
OK, I have sorted out a script which will achieve what you are asking for and a final entity wall model which you can use.
I have posted the results in the Models and Media section in this Forum - Check the link below:
http://forum.thegamecreators.com/?m=forum_view&t=196817&b=24
EDIT - Take a look at FPSC 'FPI' scripting language which is not too hard to get into and yeilds great results when you put your mind into it plus there is a vast wealth of information about it in the 'SCRIPTS' section in this Forum (Download the FPI Edit Pad which is a fantastic tool for all users).