Difference between revisions of "MessageBox Tutorial"

Jump to navigation Jump to search
271 bytes added ,  10:42, 2 July 2007
Showed how to put in more options
imported>Haama
(Added reason for moving activator, renamed Multiple Menu section)
imported>Haama
(Showed how to put in more options)
 
Elseif (Choosing == -1) ;Display your menu
Messagebox "What would you like to do?" "First Option" "Second Option" ;...
Set Choosing to 1
Set Choice to GetButtonPressed
Set Choosing to 0 ;to finish up
Elseif (Choice == 1) ;Second Option
;run your code for the second descisiondecision
Set Choosing to 0 ;to finish up
;...
;Further illustrations of more options
; Elseif (Choice == #) ;Nth Option
;run your code for the nth decision
; Set Choosing to 0
; Elseif (Choice == 9) ;Final/Tenth Option
;run your code for the tenth decision
; Set Choosing to 0
Endif
Endif
Anonymous user

Navigation menu