Displaying a random number outcome?

Ahh, okay then. I was thinking you wanted to do something like ZE where time changes as you make choices ^^

You’ll end up doing the same thing, then, just with different variables (basically you’ll be laying out every one of your “if someone talks to a person…” as variables and if/then statements. So if you wanted the first number to be revealed if you’re looking at a book while holding a red scarf under the full moon, you’d create variables like

*create redscarf false

Have a sequence of choices where you’d be able to find the red scarf and yield clues to where the red scarf is at.

Then have a choice like

*choice
    #I hold the book out under the full moon.
        *if (redscarf)
            A number appears. ${firstletter}
            *goto somewhere_else
        *else 
            Nothing Happens
            *goto somewhere_else
     #I hold the book out under the noonday sun.
            Nothing happens. 
            *goto somewhere_else

Here’s the wiki page that explains the variations with this type of stuff:

If you can, check out some of the CoG/Hosted lineup and find ones that do something similar. You can look into the source code for free and purchased games on the browser, so you can see how they handle the code and get an idea of how you would execute it.