Well... as I did it is as follows.
sprintf(buf, "...."); <--- first line
sprintf(buf, "%s...",buf); <--- Like this in the following lines.
Now you don't owerwrite the buf :) (or you do but wtf close enough :P)
Hope this helps...
YT 7David Wiklund
"And Jesus wept!" - Hellraiser 1
At 20:03 1998-05-09 +0200, you wrote:
>You are overwriting buf each time you use sprintf (buf, .....).
>
>Try using sprintf (buf, ....) the first time you use it in a function.
>Then always use strcat, or sprintf (buf+strlen(buf)).
>
>Afetr that, send_to_char (buf, ch);
>Hope this helps.
>
>Carlo Mocci
>Kabir
>dalila.shopitaly.net 4000
+------------------------------------------------------------+
| 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