Re: [newbie]colours

From: Johan Dustler (Johan.Dustler@EPK.ERICSSON.SE)
Date: 01/15/98


> From: "Bowes, Chris" <cjb@ADDLESHAW-BOOTH.CO.UK>

> i tried doing :
> sprintf(sanc_buf,"%s...%s glows with a bright light!",CCWHT(ch,C_CMP),
>   HSSH(i));
> strcat(buf, CCNRM(ch, C_SPR));
> act(sanc_buf, FALSE, i, 0, ch, TO_VICT);
> send_to_char(CCNRM(ch,C_NRM),ch);
>

Change the sprintf to:
sprintf(sanc_buf,"%s...%s glows with a bright light!%s",CCWHT(ch,C_CMP),
        HSSH(i), CCNRM(ch, C_NRM));

and remove the strcat and send_to_char.

Haven't tried it myself, but that should do it.

/Johan


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