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
➜ Bug reports
➜ Problems with MXP colour tags.
Problems with MXP colour tags.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ian Kirker
(30 posts) Bio
|
Date
| Sat 07 Aug 2004 11:18 PM (UTC) Amended on Sat 07 Aug 2004 11:19 PM (UTC) by Ian Kirker
|
Message
| I seem to have some problems with <color> tags resetting improperly upon encountering <send> tags.
I think the proper behaviour is that whatever the link colour is is supposed to last for the duration of the send tag, and then the colour tag is supposed to still persist afterwards, until a </color> tag is encountered. Instead, the colour is resetting immediately upon seeing the send tag, resulting in neither the link nor the text afterwards being coloured.
Is this proper? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Mon 09 Aug 2004 12:52 AM (UTC) |
Message
| I cannot reproduce that. You can test this sort of thing by using the "debug simulated MUD input" window (Shift+Ctrl+F12). Try this:
\1B[6z<color fore=red back=white> test test <send>west</send> another test</color>
This has a <color> tag spanning a <send> tag, in my window the text is all coloured correctly. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Ian Kirker
(30 posts) Bio
|
Date
| Reply #2 on Tue 31 Aug 2004 12:21 AM (UTC) Amended on Tue 31 Aug 2004 12:22 AM (UTC) by Ian Kirker
|
Message
| Okay, I think I may have worked this one out.
This sect of rather inane output below demonstrates the actual trouble I was having, which seemed to be that the ANSI Secure code .[6z resets the colours, rather than the send tag. Correct me (again) if I'm wrong, or if this is supposed to occur.
<color fore="#DDDD00">Wibble? \1B[6zWibble some more.<send href="wibble" PROMPT> Prompt to Wibble.</send> And\1B[5z the after-wibble.</color>\1B[4z<BR>>>
| 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.
11,916 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top