messagebox
Shows a Windows message box and returns which button was pressed.
Signature
messagebox(text: string, caption: string, flags: number): numberParameters
textstringThe message in the box.
captionstringThe title of the box.
flagsnumberThe Windows message box flags. 0 shows a single OK button.
Returns
number
Note
Example
local pressed = messagebox("Continue?", "Saiko", 4) -- 4 shows Yes and No
print(pressed == 6 and "yes" or "no")