I've been playing with the options that mushclient presents, especially the Wrapping options in Configuration>Output. The things listed there are very useful, but it is lacking one thing: usability.
SetOption offers the method to set most options if you cross reference their names with the MCL file. All fine and dandy. But at times, you do different things and you would like to resize the window. To do so, you resize, go Game>Configure>Output, click "Adjust width to size" and press OK. Tada, done. Even though the options dialog doesn't count all my lines anymore, it is still pretty annoying to have to go into the configuration for something so trivial.
So how about making it scriptable?
GetInfo(239) - Returns the amount of characters "Adjust width to size" would change the setting to. Using GetOption this could actually be set in the world.
GetInfo(240) - Not sure on this one. "Adjust size to width" actually changes the window size and all that, so if mush doesn't already have a function for this, make it return the amount of visible characters per row? I don't need this but it seems logical since there's two buttons in the configuration in the first place.
Thanks!
SetOption offers the method to set most options if you cross reference their names with the MCL file. All fine and dandy. But at times, you do different things and you would like to resize the window. To do so, you resize, go Game>Configure>Output, click "Adjust width to size" and press OK. Tada, done. Even though the options dialog doesn't count all my lines anymore, it is still pretty annoying to have to go into the configuration for something so trivial.
So how about making it scriptable?
GetInfo(239) - Returns the amount of characters "Adjust width to size" would change the setting to. Using GetOption this could actually be set in the world.
GetInfo(240) - Not sure on this one. "Adjust size to width" actually changes the window size and all that, so if mush doesn't already have a function for this, make it return the amount of visible characters per row? I don't need this but it seems logical since there's two buttons in the configuration in the first place.
Thanks!