Input Combination / Cheat Code

Hi!
After spending quite a while searching for something like this, I had no luck in actually finding anything that I wanted (I already saw one with the title “Cheats commands like GTA San Andreas”, but it’s not exactly what I’m looking for).

Basically, what I want to to be able to input a combination which would trigger something, what I have a hard time with is finding how to make it work in an order AND how to, if the user makes a mistake and misclicks a key lets say, it automatically starts from the beginning, no need to reset it manually.

I am mostly working with Blueprints, but if somebody has this exact feature made in C++, I would be really glad if he/she would go into detail on how to make it since I’m not using C++ that much.

If you need more info, feel free to ask and thanks for answering and helping!