alert
To open a pop-up with an alert message
This function will trigger a pop-up with an alert message and an OK button.
You can use this function to display information to the user, which they need to confirm if they want to continue.
If you need to provide options for the user to choose from, we recommend
dialog()
.If you call this function more than once within the same script, only the last function call will be executed, so the user has only one box to confirm.
alert(any)
void
1
alert("I am a pop-up. Please click 'OK' to confirm.")
Result: Add the code block to a button, and you'll get a popup with an OK button when clicking on it.

Result of the example
1
alert("This is the time at this very moment: " + time(now()) + ".")
Result: This is the time at this very moment: 17:18. (will show the exact time when the popup is triggered.
Last modified 1yr ago