» Fri May 27, 2011 5:46 am
You could look at any mod that tries MessageBoxes with buttons to see how this works. http://www.tesnexus.com/downloads/file.php?id=270 is a classic example of two-level messagebox system, for example. As for disabling worked out buttons, bad news. There's no way to make buttons "disabled" other than programming a separate MessageBox operator for each enabled/disabled state... which is 2n for n=amount of buttons. That is, if you have just 8 buttons, you'd have to repeat the MessageBox 64 times. AFAIK, even MWSE has no way to make MessageBox "smarter". The only workable way to block functions is to display the MessageBox with all buttons enabled, and then check with a local variable whether the selected function was called earlier, and in such case throw a message like "You already did that, try something else" and repeat everything once again.
Then again, you may think of alternatives not including MessageBoxes at all. For example, one of scripts in my http://www.angelfire.com/rpg2/mad_weather/codelock.htm resource mod doesn't use menus at all but works through "pressing buttons" instead. Or if you don't like buttons, could be levitating magic crystals to click in the game mode. You get the idea.
And as for your PM - it's not a matter of pain. What you posted for a first time was really, really illegible and delivered no information about what you're trying to achieve.
But yes, learning by doing is the best way. Good luck.