Register forum user name 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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Input | Commands | Output Window color not saving.

Input | Commands | Output Window color not saving.

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Shnar   (5 posts)  Bio
Date Wed 03 Jun 2009 10:33 PM (UTC)
Message
For some reason, every time I open a world, the Output Window sets the color to "Custom 10" (a hazel on black color). I set all my windows to be white background and so this makes for a jarring affect. I can go in and chance the options to "no change", and it works great, I save the world, but then next time I open the world, it changes back to "Custom 10".

Is there anything special I need to do to make this setting keep?

-shnar
Top

Posted by Nick Gammon   Australia  (23,159 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 04 Jun 2009 12:16 AM (UTC)
Message
Sounds like you have found a bug. The "no change" colour would be saved as zero, but the output routine does not output values of zero, to save space.

There are a couple of workarounds - instead of "no change" choose a custom colour, and then in the custom colour configuration make that custom colour what you want (eg. black on white). That way, the custom colour at least looks OK.

The other method is to make sure Lua scripting is active, and that the script prefix (in the Scripting tab), is the "/" character. Then, in the scripting tab put this in the box for World Events -> Open:


!/SetOption ("echo_colour", 0)


What that does, is when the world file is opened, puts the echo colour back to "no change".

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Shnar   (5 posts)  Bio
Date Reply #2 on Thu 04 Jun 2009 03:38 PM (UTC)
Message
Ah, so basically you're saying that if that option ever gets set, you can't really unset it? K, I'll just use that custom-color work around. Thanks :)

-shnar
Top

Posted by Nick Gammon   Australia  (23,159 posts)  Bio   Forum Administrator
Date Reply #3 on Thu 04 Jun 2009 09:01 PM (UTC)
Message
Without that script line, the option doesn't stay set. With the script line, it would always be "no change". Of course, you could delete the script line.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
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,989 views.

It is now over 60 days since the last post. This thread is closed.     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.