I've seen numerous methods used, and all seem overtly complex. A much simpler method, requiring but one small function is this: Have your players sign in with first_last (making sure the name parser will allow this). No matter what pfile method you use, it will be a valid filename. Now, just rewrite the macro GET_NAME to be a simple function that strips the _ from in between. If you need help there, just copy the delete_doubledollar function and adjust it a bit. With this method, John Doe and John Deere are NOT the same person. -----Original Message----- From: Mulder <mulder@CLOUD9.NET> To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca> Date: Wednesday, September 30, 1998 10:47 AM Subject: last names? >Has anyone here implemented the ability to have first and last names, or >think they might know how? Before I start doing anything I am trying to >estimate how much work needs to be done > >Thanks > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | > +------------------------------------------------------------+ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST