<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] ===== :UserCancelAction ===== === Description === Special function that is automatically called whenever the player initiates a cancel action. Please note: when this occurs, it is called instead of the main body of the script. To get around this, structure your script like so: @main :UserCancelAction ... @main :main ... Or create a dedicated script, as this is not oft-needed. See the PaC selection handler. === Examples === :UserCancelAction "You cancelled!" SetText