Gammon Forum
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 (22,973 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 (22,973 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.
9,920 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.