TorqueScript Reference

- Main Page
- Related Pages
- Modules
- Classes

Functions
Message Box
Function Categories

## Functions
Integer | messageBox (title, message, [buttons]?, [icon]?)

## Detailed Description

## Function Documentation

Integer messageBox | ( | title | ,
|  | message | ,
|  | [buttons] ? | ,
|  | [icon] ? |
| ) |  |

Pops up a message box

Parameters

  title | The message box's title to display
  message | The message to display in the box
  buttons | The buttons to include on box (default MBOkCancel)
  icon | The displayed icon (default MIInformation)

Returns
  Returns the ID of the box