Re: Rename char function

From: George (greerga@CIRCLEMUD.ORG)
Date: 10/21/98

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 ;)

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().

>--------------- Codito, ergo sum - "I code, therefore I am" -------------------- ?

George Greer, | Genius may have its limitations, but   (mostly) | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST