Having a way to compensate for the (stupid) 24 material limit in 3D Studio is always a big request, so here's a script to do just that.