Help with a specific event (probably a really noob question)

Hello everyone, I'm brand new to the world of RPG Maker MV and game development in general. I am learning about switches right now, just messing around, and I have stumbled upon a problem.


So here's the situation:


The player enters the inn, talks to the innkeeper:


"Good to see you again, that will be 100 gold please." This turns on a self-switch.


"Thank you and good luck on your journey." This line is conditioned by the above self-switch.


The player leaves the inn and comes back. Talking to the innkeeper results in "Thank you and good luck on your journey."


My question is, how do I loop back to the original statement of "Good to see you again, that will be 100 gold please."? I want this conversation to start from the beginning every time I re-enter the inn.


I assuming I need to insert some type of loop command or use variables? I have no idea. I do not have any programming or computer science background so excuse me if this question is too noob, but I would really appreciate any help. Let me know if this is posted in the wrong forum as well. Thanks.
No, don't use loops - that is for something to repeat in the same moment.


Unfortunately a lot depends on how you made your event, so screenshots would be helpfull. Usually you need to turn off switches if you want to go back to a status before they're turned ON, but sometimes you don't use switches at all but other options.


If you're new, I suggest you follow the link to the starting point in my signature, that will get you to the tutorials to learn how the engine works.
Based on your description, you would need to turn off the self switch you used after the show text event.  That will create another problem though, it requires your players to talk to the innkeeper again after they stay the night.  If they don't then they will have to talk to that innkeeper twice to trigger their next stay.  I wouldn't use a self switch here at all, I would just put the second show text after the screen fadein.
Thanks guys! I followed your advice and figured it out.


Andar, I will check out those guides.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-a-specific-event-probably-a-really-noob-question.58858/