scripting the creation of a new user

Ok I have looked through my books, searched here, searched google all to no luck. I have looked to see if the Accounts preference pane was scriptable. Is there an osax that I did not see in the list to help create a new user or is there any other way?

thanks

Conaire

According to responses given to others who have asked the same question, the best way to do this is through the shell. I have absolutely no idea how to do it.