[Home] [Downloads] [Search] [Help/forum]


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, 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.
 Entire forum ➜ MUSHclient ➜ General ➜ Separating Output?

Separating Output?

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


Posted by Oddgamer   (9 posts)  Bio
Date Tue 19 Oct 2021 12:56 AM (UTC)
Message
So... I'm trying to do some sorting of the output I get from my favorite Mu*. I have pages coming in ("X pages you: <whatever>"), as well as things that show up on channels ("[Channel Name] <text>") as well as 'other' (basically everything else). What I WANT to have happen is that the pages and channel stuff are put somewhere _other than_ the main window, and, for preference, keep all colors and so on, but _also_ have a timestamp out front so I'll know when that came through, but so I can ignore it if I'm busy with things dealing with the main stuff. Sometimes pages and channels can get... spammy... and I want to be able to KEEP THEM in case they're important, but also not HAVE TO have them in front of me. Color is a frequently important aspect of the Mu*, even in those areas, so that's why I'm hoping to keep the color.
What would be the best way to go about this? I can send a line based on trigger to a notepad, but that strips color, and I can't figure out how to put in the time-stamp (which is important so that I know if I go check it out I can tell if it was there five minutes ago or a couple hours). I might be willing to lose the color if that makes it easier, but the time-stamp thing is a big one.
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #1 on Fri 22 Oct 2021 03:07 PM (UTC)
Message
I do all this in the Aardwolf MUSHclient Package, so it's possible. But it can be a lot of work.

Quote:
What would be the best way to go about this?

There isn't one. There are only two bad ways, miniwindows or secondary world files. Which you use depends on how deep into scripting you like to get. Secondary world files give you native text handling but with some limitations in how they look and can be arranged. Miniwindows give you (potentially) nicer appearance but at the expense of a lot of complex code to mimic native text features like color/wrapping/selecting/etc.

Search the forum for "chat capture" or "channel capture" or maybe even just "capture" and you'll find lots of threads talking about it.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #2 on Wed 27 Oct 2021 05:40 AM (UTC)
Message
The basics of separating output into separate windows is discussed in a few threads, including this one:

http://www.gammon.com.au/forum/?id=10728&reply=5#reply5

I think there may be ways of having multiple windows, read that thread and see what you find.

Adding a timestamp would be pretty trivial, you would have to remember the time when saving the chat line, and make code to add it to the start of the drawn lines.

- 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.


8,553 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

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]