How to make a console

How to implement such a system:
If you enter "connect" and press "Enter" key, write "login was successful!" At the same time, once placed every character "_".
In this case, if the input of another command, he writes: "Unknown command!"
PS And each team with a new line!

img.png
Are you asking a question or making a tutorial? That is unclear.
Dekita had an input console script before but it seems like the links arent working anymore..


For this you'll need a Full Keyboard script since the default engine only handles a few keys and not the full keyboard, then the actual script that shows a console where you can type things

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-console.74142/