<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] ===== :ShowMessageDialogCallback===== === Description === Special function that is automatically called whenever the player clicks on one of the buttons in a dialog displayed by [[crpl:docs:ShowMessageDialog]]. The identity of the button clicked is placed on the stack before this function is called. ^Result^Description^ |0|Player clicked OK (left/blue button)| |1|Player clicked Cancel (right/red button)| === Examples === See [[crpl:docs:ShowMessageDialog]] for an example.