Question:
I found the code for display_prompt and default_prompt and do_prompt, however, I am unable to figure out how to do or achieve the following:
Keep the prompt (not fprompt) from spamming each time some form of input reaches the char. Ideally I want the prompt to look like this:
> sayto frobozz You are a newbie coder
You say to Frobozz "You are a newbie coder"
Frobozz says, "I am not!"
Frobozz says, "I swear"
> sayto frobozz "hah"
Where now the code makes it look like this:
<hp/hp sp/sp mp/mp> sayto frobozz You are a newbie coder
You say to Frobozz "You are a newbie coder"
<hp/hp sp/sp mp/mp>
Frobozz says, "I am not!"
<hp/hp sp/sp mp/mp>
Frobozz says, "I swear"
<hp/hp sp/sp mp/mp> sayto frobozz "hah"
So I guess my question is how do I set the default prompt to ">" and keep the prompt from spamming unless the player enters a command or return?
Thank you again.
I found the code for display_prompt and default_prompt and do_prompt, however, I am unable to figure out how to do or achieve the following:
Keep the prompt (not fprompt) from spamming each time some form of input reaches the char. Ideally I want the prompt to look like this:
> sayto frobozz You are a newbie coder
You say to Frobozz "You are a newbie coder"
Frobozz says, "I am not!"
Frobozz says, "I swear"
> sayto frobozz "hah"
Where now the code makes it look like this:
<hp/hp sp/sp mp/mp> sayto frobozz You are a newbie coder
You say to Frobozz "You are a newbie coder"
<hp/hp sp/sp mp/mp>
Frobozz says, "I am not!"
<hp/hp sp/sp mp/mp>
Frobozz says, "I swear"
<hp/hp sp/sp mp/mp> sayto frobozz "hah"
So I guess my question is how do I set the default prompt to ">" and keep the prompt from spamming unless the player enters a command or return?
Thank you again.