Need mel script for 3 point snap align objects..but with ordered poly verts

Hi, I have noticed that when Im trying to do a 3 point snap align of the grandparent objects of 2 poly faces, the order in which I select the poly verts doesnt matter.  This is a problem because they are aligning in the opposite way in which i want.  This is eventually going to go into a script, so I tried to look up the command for the 3 point snap and there is nothing.  I was only able to find a 2 point snap command, which wont work.  What is the mel command for a snap align object 3 points to 3 points?  and how would I make the order of selection of the poly vertices be taken into account?
Thanks in advance

maya 2008 has a 3 point to 3 point snap under Modify > Snap Align Objects > 3 Points to 3 Points.