Numerizing vertices in V6

i used this script by clement greiner in V5 to numerize mesh vertices. in V6 it doesnt work anymore. any suggestions for alternatives?

Seems to work here in V6 on a simple example I tested… Is it not working for any mesh? Do you get an error message?

yes, works now.
i made the same mistake as with the minbox script.
(not really a scripting pro)

thanks again!