Shows a native message box and yields until the user dismisses it, returning the code of the button they pressed. flags are the standard Windows MessageBox flags, which choose the buttons and icon.

Parameters

string
required
The message body.
string
default:"Athena"
The window title.
number
default:"0"
Windows MessageBox flags.

Returns

number
The code of the button pressed.

Example

Errors