Quad leaves UV tiling


I've been looking around couple of days now for a script that does a job same as the one of djx script, but for 3ds max.

Script page:

also the one that does grass is here:

What it basically does is take the quad geometry leaf UVs and tile them into your choice of (2x2) (3x3) or (4x4) and so on.

My workflow in rendering the variation (3dsmax) is using the MaterialByElement modifier and having a multisubobject material. I find the UV Tiling method way much easier and faster.

All I wanna know is there any similar workflow for 3ds max or any script that does the same?

I'd really appreciate any help, :)