Is it possible to create a Fake Pop-up Message?

I'm wondering is it possible (with a script/plugin) to make a pop-up/error message that you can click "OK" with the mouse, similar to some Creepypasta/horror games out there. I don't know how to code at all for JavaScript or anything for that matter, so some pointers would be much appreciated. Also, I know this is very similar to another person's post from like 3 years ago but I never got an answer because they said they figured it out without showing their solution.

Thanks,
ProfessorCreepyPasta
I'm not quite sure if this is what you are looking for, but in a script call:

Code:
window.alert('text')
I'm not quite sure if this is what you are looking for, but in a script call:

Code:
window.alert('text')
Yes! Perfect, thank you! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-create-a-fake-pop-up-message.128120/