Vertex alignment script?

Is there a script that will do the following:
With two vertexes selected, execute the following command: Shift X + 0 (aligning the vertexes on the Y and Z planes).
Set the Median X location to 0.

Thanks.

If there isn’t, how would one go about writing one?

Isn’t this just like scaling to 0 on the X axis?

No, it’s pretty much the opposite.

— deleted —

I get a 403 forbidden message from your link, then it redirects to http://www.infoseek.co.jp/

— deleted —