/* Cname "Colored Names" for who and Channels * This was created by Belgarath. For those of * you who would like to use this snippet, it * should soon be on http://www.kyndig.com. * This snippet should work with any Rom or * rot MUD as well as godwars. Feel free to * try it on other bases. I used it on a * Godwars base, but it should work especially well * with rom or Rot. * * Enjoy! (Belgarath) */ --[ act_wiz.c ]-- void do_cname(CHAR_DATA *ch, char *argument) { char arg[MAX_INPUT_LENGTH]; char buf[MAX_STRING_LENGTH]; CHAR_DATA *victim; argument = one_argument(argument, arg); if(argument[0] == '\0' || arg[0] == '\0' || !(victim = get_char_world(ch, arg))) { send_to_char("#7Syntax#l: #ccname [#yvictim#c] [#yarg#c]#n\n\r", ch); return; } free_string(victim->short_descr); victim->short_descr = str_dup(argument); sprintf(buf, "%s's colored name is now %s\n\r", victim->name, victim->short_descr); send_to_char(buf, ch); return; } --[ comm.c ]-- Find this line and insert this code before do_look(ch, "auto); ch->short_descr = ch->name; --[ merc.h ]-- This code is only if you want their colored names to show up in Says and Channels and such. If not, do not insert this code. Search for #define PERS(ch, looker) and find the (ch)->name. Change it to (ch)->short_descr. Then below that change the (ch)->short_descr to (ch)->name, if that messes up and doesn't work (It shouldn't) change the (ch)->name to (ch)->short_descr. --[ act_info.c ]-- /* For Rot do_who */ Simply search(crtl+W in most shells) for wch->name. Simply change wch->name to wch->short_descr for both the mortal who section as well as Immortal. /* For RoM do_who */ Same thing as RoT. Simply search for wch->name and change it to wch->short_descr /* GodWars do_who */ Same thing, but you will switch wch->switchname to wch->short_descr --[ UPDATE ]-- For Godwars, in comm.c You will want to add the ch->short_descr to both of the functions in which it will be needed, or else peoples names will be nothing more than a space. --[ UPDATE ]-- For Godwars, the part in comm.c will needed to be changed to ch->short_descr = str_dup(ch->name); Replacing set_switchname = ch->name; Well, that should be all. If there is problems, please inform me on AIM at Belgarath 5 4 3 or MSN at rocky_rules@hotmail.com Belgarath