How do I make certain names not allowed?

I know that this has something to do with conditional branches, but I looked for a tutorial and nothing would come up.

Which is why I came here to ask this question.​

'How to I make certain names not allowed for the player to use?'

I wanna know how you can prevent the player from using a certain name or word for their character via using the custom name inputer.

For an example, I want the game to prevent them from naming their character something like 'Hitler', possibly with a character scolding them on their choice or it just pokes fun at the player for wanting to choose that name.

After that, it just sends them back to the name input screen.

This is also to prevent them from using a cussword or inappropriate name for their character.

Or attempting to take a characters' name and use it for themselves. Like how Undertale prevents the player from naming Frisk - Sans, Toriel, Undyne, ect.

Any tips?​
Place a label above the name input command.
After that command, a series of conditional branches checking if the actor now has one of the forbidden names. If yes, show text "forbidden input" and goto label.
Disable the else-branch as it is not needed.
Place a label above the name input command.
After that command, a series of conditional branches checking if the actor now has one of the forbidden names. If yes, show text "forbidden input" and goto label.
Disable the else-branch as it is not needed.

Thanks!
But, some images might help.

I figure I'm on the right track, though.
Archeia made a tutorial about this.
Archeia made a tutorial about this.

Ah! Thank you very much!
Can this thread be closed? 🙂
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-certain-names-not-allowed.89966/