Re: [NEWBIE] 9, 98 12:27:35 pm"

From: Christian Loth (sg618lo@UNIDUI.UNI-DUISBURG.DE)
Date: 05/09/98


Hi,

> ACMD(do_score)
> {
>   struct time_info_data playing_time;
>   struct time_info_data real_time_passed(time_t t2, time_t t1);
>
>   sprintf(buf, "You are %d years old.", GET_AGE(ch));    <--------------
> this doesnt print

With the above line, you just print the text into buf. You haven't sent
it to the player yet! (send_to_char e.g.)

- Chris

--
/----------------------------------------------------------------------------\
| Christian Loth                      | Meet me as the >Shadowdancer< in the |
| chris@rom.mud.de                    |           REALM OF MAGIC             |
| http://rom.mud.de/~chris            | telnet rom.mud.de 4000               |
|                                     | http://rom.mud.de/                   |
|               "The road goes ever on and on!" - Bilbo Baggins              |
\----------------------------------------------------------------------------/


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