How to make a scene from a diary?

I am trying to make a scene where the player must read a diary, but the diary has several pages, therefore it is a set of several images in which, when the player presses a button, it goes to the next image and so on, but I am having trouble doing it, like for example if I put it on the action button, the buttons do not execute, and if I put it in automatic process, when the button is pressed, it changes the image, but it automatically goes to the last image, in other words, it is 3 images, and when the button is pressed to go to the next image, the second image is skipped and it goes to the third image automatically, how can I do this event?
Simple.
Code:
if Action button is pressed:
    if variable timer is 0:
        set variable timer to 5
        swap the page
   else
       if variable timer > 0:
      decrease variable timer by one
else
    if variable timer > 0:
       decrease variable timer by one
You need to have some sort of timer to have time to unpress the key. This loop does it.
........
Don't think too hard. If it's only one way, you can just use transparent empty message box:
1593667231946.png
........
Don't think too hard. If it's only one way, you can just use transparent empty message box:
View attachment 149741
Oh God, how easy! It has worked very well, thank you very much friend, I should have thought a little more XD

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-scene-from-a-diary.123512/