Is there something wrong?

EDIT: I Realized What I Did Wrong


I made it in my game so that when I talk to someone it just has them say something and give me some gold, but for some reason the self switch to make him not do it again isn't working... is there a way I can fix this?


bandicam 2016-12-31 18-10-43-942.jpg


bandicam 2016-12-31 18-45-27-866.jpg


bandicam 2016-12-31 18-45-30-218.jpg
Why is Self Switch A turned on twice under the same branch?


Also, your question is really strange: His self switch isn't working so he doesn't do it again? What? Make sure that page 2 or 3 in the event has the condition Self Switch A set.
Please show us the other two event pages.  And maybe edit your post (use full editor) and change the thread title to hint at what the problem is, as what you've got there now is incredibly vague and gives no clue what you're having problems with (this is to benefit those who are helping you, as well as those who might have similar problems in the future)
Ok, it is edited.
Okay ...


on page 1, you're turning self switch A on if gold <= 400, and then you're turning it on a couple of lines below.  So A is going to be turned on whether gold is <= 400 or not, so you may as well get rid of that test.


On page 3, self switch B MUST be on for that page to be active.  But then you're turning it on again within the event commands.  That has no effect.  You may as well get rid of that.


Once you turn self switch A on, page 2 will be active.  He'll just keep saying 'thanks', because page 2 is never made inactive again.


Seems you've gone about things in a slightly complicated way, and you probably don't need 3 pages.  Once page 2 or 3 are activated, they're never going to change.  Perhaps you should explain how things SHOULD work (ignoring what you've done to try and make them work) and we can point you in the right direction.
In the page 3, change the self switch B on to off, and below that, put the self switch a to on. That should work

Original thread: https://forums.rpgmakerweb.com/threads/is-there-something-wrong.72964/