retrieving vertex select order

I recently made this script:

and I’m wondering if there is a way to tell the order that MeshVerticies were selected for another tool I want to include.

If there isn’t a way to tell in which order the verticies were selected I can come up with some other way to work it, but it wouldn’t be quite as slick.

You could have the user select the vertices after the script has begun, and track the order yourself.