Two new functions have been added to let you display a message box or a yes/no query box from within MAXScript. The functions are:
messageBox <message_string> [title:<window_title_string>]
[beep:<boolean>]
displays a modal message box containing the message string and an OK button. The message box window title an be set with the title: keyword param. You can control whether a beep is made with the beep: keyword param which defaults to true.
queryBox <message_string> [title:<window_title_string>]
[beep:<boolean>]
displays a modal message box similar to the one that the messageBox() function creates, except it contains a Yes and a No button. The queryBox() function returns true if the user clicks Yes and false if the user clicks No.
messageBox "You shouldn't have done that"
if queryBox "Do you want to continue?" beep:no then ...