Hi,
I play a MUD that uses the following prompt:
2884h, 4708m, 4252e, 10p, 21282w exkdb-
The MUD has an option to add a newline after this, but I have that turned off in favour of MUSHclient's "Convert IAC EOR/GA to new line" option. What I would like to do is add changes in health and mana, as well as the time, to the end of this, on the same line. I want it to look like this:
2884h, 4708m, 4252e, 10p, 21282w exkdb- H: -300 M: 400 10:21:32.05
I have no problem adding this info on a new line, but I absolutely can't figure out how to keep it on the same line without omitting the prompt from output and rewriting it entirely (which I don't want to do because I have a different trigger that colours the prompt when a certain action is possible.)
I also have a lot of triggers anchored to new lines (e.g. ^You move sluggishly into action.) and would really like to keep them that way. So I need a newline after the prompt line.
Lastly, as a minor question: VBscript's Time and Now functions return the time in HH:MM:SS format. How might I go about getting the time with a precision of tenths or hundredths of a second?
Thanks in advance for any help or suggestions you can offer.
I play a MUD that uses the following prompt:
2884h, 4708m, 4252e, 10p, 21282w exkdb-
The MUD has an option to add a newline after this, but I have that turned off in favour of MUSHclient's "Convert IAC EOR/GA to new line" option. What I would like to do is add changes in health and mana, as well as the time, to the end of this, on the same line. I want it to look like this:
2884h, 4708m, 4252e, 10p, 21282w exkdb- H: -300 M: 400 10:21:32.05
I have no problem adding this info on a new line, but I absolutely can't figure out how to keep it on the same line without omitting the prompt from output and rewriting it entirely (which I don't want to do because I have a different trigger that colours the prompt when a certain action is possible.)
I also have a lot of triggers anchored to new lines (e.g. ^You move sluggishly into action.) and would really like to keep them that way. So I need a newline after the prompt line.
Lastly, as a minor question: VBscript's Time and Now functions return the time in HH:MM:SS format. How might I go about getting the time with a precision of tenths or hundredths of a second?
Thanks in advance for any help or suggestions you can offer.