I've figured out how to add a new line character myself. However, could this be added by the mud if it's not present in the configured prompt?
The benefit I see is that it prevents triggers for health bars from being one prompt behind. Also, it prevents problems where the text appears at the end of the prompt. Those problems alone make the mud seem unpolished.
Insuring that there's a new line at the end of a prompt would be a small change and help out.
For example, my simple prompt did not originally have the "%B" at the end:
prompt ^w<^RHP:%h/%H ^cMv:%m/%M ^w%I>%B
New Line Character after Prompt
Re: New Line Character after Prompt
We'll take a look and see. Thanks for the feedback.
Re: New Line Character after Prompt
Triggers on CMUD can be set to use the prompt status, or new line status.
I bet your client can as well, though don't ask me how.
It would be nice if MXP or some other means of sending that information to the client without having to print it to the screen at all was implemented.
I bet your client can as well, though don't ask me how.
It would be nice if MXP or some other means of sending that information to the client without having to print it to the screen at all was implemented.
If we would all just concede the point when a given argument was defeated, this whole communication/civilization thing would work a lot smoother.
Re: New Line Character after Prompt
You're right, in fact. I use Mushclient and it can trigger on all sorts of things (TCP/IP packet recieved, partial lines, etc.). I almost went down this road. However, I decided to look into adding a linebreak to my prompt and, lo and behold, there it was. The fabulous %B. It was a much easier solution than trying to match on partial lines.Vexing wrote:Triggers on CMUD can be set to use the prompt status, or new line status.
I bet your client can as well, though don't ask me how.
Also, the newline fixes several other bugs with triggers where, for example, the triggered message shows up at the end of the prompt line. For example, I don't have to code around this:
Code: Select all
<HP:1560/1560 Mv: 940/940 Standing>You are done mining.