Re: Rename char function

From: Ronny Iversen (ronnyi@IFI.UIO.NO)
Date: 10/21/98


George wrote:

> On Wed, 21 Oct 1998, Ronny Iversen wrote:
>
> >Anybody ever written a function for renaming characters if they have
> >innapropriate names, without having to purge them. Any hints will help ;)
>
> free(GET_NAME(ch));
> GET_NAME(ch) = str_dup("new name here");
>
> Then you _must_ scan the player table and replace their name there too or
> they will only be able to log in with the old name until you reboot.
>
> Trivial really.  I put it under do_set().
>

ok thanx :)

>
> >--------------- Codito, ergo sum - "I code, therefore I am" --------------------
>
> raster@redhat.com ?

*blush* Yeah I lended the signature from a email from raster :P


     +------------------------------------------------------------+
     | 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