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
➜ Sending Underline/Italic formatting to chat windows
Sending Underline/Italic formatting to chat windows
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Glodan
(4 posts) Bio
|
Date
| Tue 11 Mar 2014 03:21 AM (UTC) |
Message
| 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? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 11 Mar 2014 11:22 AM (UTC) |
Message
| The style runs should give you that. See this from the help:
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. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Tue 11 Mar 2014 11:24 AM (UTC) |
Message
| To send them you might use AnsiNote:
Use that in conjunction with ANSI:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #3 on Tue 11 Mar 2014 04:19 PM (UTC) Amended on Tue 11 Mar 2014 04:20 PM (UTC) by Fiendish
|
Message
| |
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.
13,147 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top