Search FAQ

Gammon Forum

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.
 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Trigger script Style Info doesn't have inverse.

Trigger script Style Info doesn't have inverse.

Posting of new messages is disabled at present.

Refresh page


Posted by Cage_fire_2000   USA  (119 posts)  Bio
Date Wed 21 Oct 2009 08:04 PM (UTC)

Amended on Wed 21 Oct 2009 08:13 PM (UTC) by Cage_fire_2000

Message
I was making a script to take a triggered line, and display it in a miniwindow using the color codes from the style info passed to the trigger script, and I noticed something odd, part of the text was reversed in color, then I noticed that the style info it passes does not tell you whether they used inverse. The style info from the output buffer does, but not the style info passed to a trigger script. I am running 4.37 which I know isn't the latest release, so let me know if it's been fixed since then. I really don't want to have to grab it from the output buffer as that's unreliable depending on if a script has done a Note() or not, etc. At the very least you'd think it'd reverse the textcolour and backcolour, but it doesn't even do that. I'm wondering why it doesn't come in the same format as GetStyleInfo() for consistancy? You could add that, but also keep the 'style' field for backwards compatibility.
Top

Posted by Cage_fire_2000   USA  (119 posts)  Bio
Date Reply #1 on Wed 21 Oct 2009 08:40 PM (UTC)
Message
Hmm, never mind, I upgraded to 4.43 and it seems to have fixed it somewhere, but could somebody tell me what version it was fixed in so I can put that as minimum for my plugin?
Top

Posted by Cage_fire_2000   USA  (119 posts)  Bio
Date Reply #2 on Wed 21 Oct 2009 08:43 PM (UTC)
Message
Never mind, it was apparently 4.42. Quite recently it seems.
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.


10,899 views.

Posting of new messages is disabled at present.

Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.