> I do have a few lines started, but have ran into problems with this:
>
> sprintf(buf, "&Y-=-=-=-=-=-&CScore Inforamtion&Y-=-=-=-=-=-=-=-=-&w\r\n",
> sprintf(buf, "&C Name&Y: &M%s&C Class&Y: &M%s &CAge&Y: &M%d\r\n",
> GET_NAME(ch), CLASS_ABBREV(ch), GET_AGE(ch));
>
All very pretty but the second sprintf just overwrites the contents of buf
from the first one, try this ...
sprintf(buf, "&Y-=-=-=-=-=-&CScore Inforamtion&Y-=-=-=-=-=-=-=-=-&w\r\n",
sprintf(buf, "%s&C Name&Y: &M%s&C Class&Y: &M%s &CAge&Y: &M%d\r\n",
buf, GET_NAME(ch), CLASS_ABBREV(ch), GET_AGE(ch));
Or send_to_char the buf after each sprintf.
+------------------------------------------------------------+
| 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