Here is the demonstration of possibilities of maxscript, which I have worked out while creating hair animation for video, where Veda dances Ballet. This script optimizes the work for setting up Flex modifier in the case, when Flex is used for generate dynamics of objects out of massif of splines.
For creating hair it was used a standard component 3ds Max Hair and Fur. Hairstyle was created in a way, that allows to use a different methods for calculation of hair dynamics, but not only in built dynamics. At the moment as a hair dynamics engine it is used Flex modifier, which gives a good result for rather short calculation time.