Code:
dialog ICON_CODE UNUSED_TITLE MESSAGE [BUTTON_ONE_LABEL] [BUTTON_TWO_LABEL]
Meaning of ICON_CODE: 0 no icon, 1 information icon, 2 question mark icon, 3 warning icon, 4 error icon.
AFAICT UNUSED_TITLE is... unused, just use "".
Button labels are optional.
Exit status will tell what button was selected by user.
Example:
Code:
dialog 3 "" "Is flx listening to an audiobook or looking at hisereader screen" "Reading" "Don't know"