MessageBoxEx
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Similar to ShowMessage but accepts a string directly rather than via a message form. Variables can be passed using string formatting, or string variables via ToString($). The message will be displayed in a box that prompts for user confirmation.
Supports up to 10 custom buttons separated by "|". To determine which button was selected, GetButtonPressed can be used.
Syntax
(none) MessageBoxEx string:formatable
Example
MessageBoxEx "This message will in a box on screen|Ok|Cancel" set iBtn to GetButtonPressed if (iBtn == 1) MessageEx "Cancel was selected" endif
See Also
- ShowMessage
- MessageBoxExAlt
- MessageEx (without the box)
- ToString($)
- String Variable