Sending text from a MUD to a notepad while preserving the color

Posted by Hautbois on Mon 18 Jul 2005 08:23 AM — 4 posts, 19,175 views.

USA #0
I was just wondering if someone could assist me in creating a script that would send text from the mud to a seperate window and preserve the color of the text in that window.

I already have some triggers set up that will send the desired text to a notepad window, however, only text is sent, no color.

I have seen other posts on this forum that show how to designate colors for notepad windows. The problem is that I don't know how to incorporate the scripting, nor do I see any way of creating lines in a notepad window that have multiple text colors. As in, part of a line being one color (a channels primary color) and the rest being another color (a channels secondary color).

Any assistance would be greatly appreciated.
Sweden #1
As far as I know, the notepad windows only handles one color at a time. You can, ofcourse, assign that color yourself.

The syntax for this is:
long NotepadColour(BSTR Title, BSTR TextColour, BSTR BackgroundColour)
USA #2
Okay, so then is there anyother way of having MUSHclient open up a window that is capable of using more than one color? (i.e. not using a notepad window, but rather some other type?)

Otherwise, thank you for the information.
USA #3
Okay, I was just browsing through the forums and I saw something akin to what I want...

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4286

This idea of an additional window is exactly what I was wanting to do, as it seems this would be capable of pulling text (with color and all) from the output and displaying it.

Does anyone know if this is being explored? or if there is someway to do something like this already?