I have a multi-window system based on the chat window system Nick has floating around here. It uses ColourTell to send the messages to the different windows. I've done some looking around but haven't been able to find anything. Is there a way to detect/send the underlind/italic formatting of text as well as the colour?
Sending Underline/Italic formatting to chat windows
Posted by Glodan on Tue 11 Mar 2014 03:21 AM — 4 posts, 17,405 views.
The style runs should give you that. See this from the help:
The "style bits" are what you want.
Quote:
- textcolour - the RGB colour of the text in this style (number)
- backcolour - the RGB colour of the background (number)
- text - the actual text
- length - the length of the style run
- style - style bits (bold=1, underline=2, blink=4) or'ed together (eg. bold underline would be 6)
The "style bits" are what you want.
To send them you might use AnsiNote:
Use that in conjunction with ANSI:
AnsiNote
The documentation for the AnsiNote script function is available online. It is also in the MUSHclient help file.
Use that in conjunction with ANSI:
ANSI
The documentation for the ANSI script function is available online. It is also in the MUSHclient help file.
Nick Gammon said:
To send them you might use AnsiNote:
To send them you might use AnsiNote:
But be warned about the several pitfalls I encountered throughout http://www.gammon.com.au/forum/bbshowpost.php?id=11075