Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ How to add text to the same line as regular game output?

How to add text to the same line as regular game output?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Tesagk   (52 posts)  Bio
Date Tue 22 Jan 2019 05:51 PM (UTC)
Message
It appears that both print() and Note() automatically start on a newline. I don't have complaints about that, but I'm hoping there's some sort of function that appends to a game output line without having to re-do the whole line.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 22 Jan 2019 09:07 PM (UTC)
Message
Not really, because the client keeps them separate (different line types).

What you can do, and many people do, is omit the original line, and then reproduce it (colours and all) by using the style runs which you get from a trigger function. There are examples in the FAQ.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


7,774 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.