how to assign 2 different text boxes to one npc

hello, i want to add two different messages to an npc like when you talk to an npc for the first time it says "A" but when you talk for the second time it says "B". is there a way to do it?
You'd be using a switch for this.
Event page 1: "A"
Event page 2: set a condition to check for a switch/self switch, and "B"
You'd be using a switch for this.
Event page 1: "A"
Event page 2: set a condition to check for a switch/self switch, and "B"
thank you for your reply. sorry i'm a bit new on rpgmaker so i dont know the switch system as well. can you explain in more detail?
Sorry for the late response. If you don't know switches at all, you might want to check out Andar's Starting Point for New Users tutorial on the forums. That will help you quite a bit to figure out switches.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-assign-2-different-text-boxes-to-one-npc.148676/