Dontarion said:
One thing I'd love to do is prefix every line with a timestamp ala Mudlet. I don't think that's going to happen easily but I thought I would throw it out there.
I couldn't get my copy of Mudlet to do that, but I get the general idea.
That seems a reasonable request, and not particularly easy to fudge up with the existing code.
I am experimenting with providing a "line preamble" for each output line, which gets put at the start at the last moment (and thus you can turn it on and off if you want).
It looks like this:

I am doing that by levering off the "log file line preamble" codes. This lets you specify any string you like, including the date/time codes, and a few extra things like %P for the player name (as in my example).
So in the example above I did:
SetAlphaOption ("timestamp_input", "(input) %H:%M:%S > " )
SetOption ("timestamp_input_text_colour", ColourNameToRGB ("brown") )
SetAlphaOption ("timestamp_output", "%H:%M:%S (%P) > " )
SetOption ("timestamp_output_text_colour", ColourNameToRGB ("white") )
This lets you specify the date/time to whatever precision you want (eg. h:m:s), have a custom colour for each of input/output/notes, and a custom background. This lets the different types of lines stand out more. |