Entering code

I want to have the player enter a code in various areas of the game, specifically at the telephone. However, I'm not sure how to? I know its possible, for example, in the game Too Impatient, several puzzles involve entering a number. I'm likely just overlooking it but I can't find anything for this- does it require scripting? The "Input Number..." option isn't quite what I'm looking for.
One popular way people do things like this is having a dummy actor stand in for the prompt, and using the "set actor name" command for the input.
another way is to create a common event, use 2 variables (1 input, 1 index)
and 1 (each) for the puzzles, if they are a 1x use, you can use 1 variable
for all.

this might required images, depending how you want it to look like.
but many things are possible.

you can also create a mockup how it should look like.
I found a tutorial that solved my problem! Thanks for the help anywho, you two! I appreciate it! ^^

Original thread: https://forums.rpgmakerweb.com/threads/entering-code.142932/