Re: [Circle] make_prompt problem

From: Chris Grantham (casper@optima.mme.wsu.edu)
Date: 07/28/96


[snip]
sprintf(prompt, "Blah.. BLah.. [Opponent: %d/%d]", GET_HIT(FIGHTING(ch)),
GET_MAX_HIT(FIGHTING(ch)))
send_to_char(ch, prompt)

or whatever

At 07:18 PM 7/27/96 -0500, you wrote:
>I am trying to add a toggle to my prompt tht will show
>your opponents hit points % left.
>
>My problem is pointing to your opponents hit points.
>What is the best method to do this?
>
>I have tried stuff like
>
>[snip] "[Oponent: %d]", (GET_HIT(ch->fighting))[snip]
>
>I have tried several different structures and etc..
>How can I do this?
>
>Thanks, Chuck
>
>
>+-----------------------------------------------------------+
>| Ensure that you have read the CircleMUD Mailing List FAQ: |
>|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
>+-----------------------------------------------------------+
>
>


    \     Admiral of the Fleet, Zxoi
=====>===============================--------
    /      casper@optima.mme.wsu.edu

                  TrekMUD               /
--------===============================<=====
                Coming soon!            \

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/07/00 PST