brixxbox Wiki
Ask or search…

showMessageBox (deprecated)


Displays a modal messagebox with buttons. Each button gets a function that is called when the button is clicked. The Messagebox will NOT block the script. The next line after the messagebox will be executed while the messagebox is still visible. If you want to wait for the button click. use waitForMsgBox instead.


messageBoxOptions - A JSON object with messageBox parameters

Example Usages

title: "sampel title",
text: "sampel text",
buttons: [
title: "myButton",
click: function(){
console.log("myButton clicked!!!!");