Re: [CODE][NEWBIE]set name

From: Invincibill (bill@longboys.net)
Date: 02/14/99


anthony benjamin wrote:
>
> ok..I have everything working except for the fact of when I change
> someone's name..no matter what argument is supplied it always changes it
> to..
> šs under the character's score and B under the who list...I have no idea
> why..any suggestions? here is the code..
>
> case 49:
>      vict->player.name = val_arg;
vict->player_name = str_dup(val_arg) //OR DEPENDING ON YOUR SETUP
strcpy(vict->player_name, val_arg)
>      send_to_char("Your name has been changed.\r\n", vict);
>      send_to_char("Name Changed.\r\n", ch);
>      save_char(vict, NOWHERE);
>      build_player_index();
>      break;
>
> Any help, as always, is appreciated..
>
> anthony - the newbie
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+

--
Weather forecast for today: Sunny & Mild
Weather forecast for tomorrow : Sunny & Mild
www.giftsgalore.com : www.longboys.net
telnet://undying.longboys.net:4000 http://undying.longboys.net


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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