Stupid question about a similar "ask function"

max17
30 Nov 2015, 15:09
Is there a function that pop ups a window informing you of something? Just like the "ask function" but without the YES/NO answers, just one "OK" answer. Sorry for the newbish question but i can't find anything on the forum nor in the tutorial/script page. D:

The Pixie
30 Nov 2015, 15:43
The simple answer is no.

The complicated answer is yes, but you have to use JavaScript/JQuery.
JS.eval("alert('This is a message in a box!')")

The JQuery version looks better, but is more complicated.

max17
30 Nov 2015, 16:09
Whoa that is weird xD I thought that ofc there was already an implemented function, anyway i think i'll just use Javascript or JQuery for that alert box :) Thanks for the answer :)

Alex
30 Nov 2015, 17:40
Why eval that? This should work:


JS.alert("This is a message in a box!")