Nice to see someones scripted an import customers script.
What I mainly do when importing a clients customer base over from an pre-existing 3rd party cart is get all the information into excel to fine tune and extract only the necessary needed data. If the passwords are plain text I use this simple tool I wrote awhile back:
http://www.cart-lab.com/lab/salt.php
And copy all the needed passwords in order into the text area, and convert the plain text passwords into a format I can copy/paste into my excel document and create a new CSV file which I then upload into the xcart_customers table via phpMyAdmin.
Kudos however on the code Caue, defiantly makes this whole process easier.
