Operating System Simulator Plugin

Can you please show or explain how to make a continues command that relies on the previous command in easy terms using custom commands in (CLI-Command Prompts)?
Like writing: What’s your age?, then it waits for another input to insert age number, THEN it shows the result.
meaning 2 or 3 steps before the actual result to come up,

and how can you make the result appears slowly one at a time, i don’t want everything to appear all at once in blink of second right after you hit Enter, especially with long/lengthy results, i want the results to come up gradually.
thank you.