Difference between revisions of "Standard Menu UI/Number Setting Example"

optimize code a little bit
imported>Wrye
(New page: Below is the code for the Wrye Leveling options command token. This is fairly compact code for presenting several menus and handling the selected options. '''The point of this page is to d...)
 
imported>Wrye
(optimize code a little bit)
 
 
begin menuMode;---------------------------------------------------------------
;--Quick return if not in menu displaying mode.
;--Following will do nothing unless messagebox was previously shown.
if menu == 0
return
endif
 
set button to getButtonPressed
if menu < 0
Anonymous user