Login
Remember
IF Answers
Ask a Question

# How do I print a Help message after the game is restored?

+2 votes
45 views
asked Mar 29 in Authoring by anonymous
retagged Mar 29 by Dannii

I would like to print a stock help message to remind the player after the game is loaded from a save file. In Inform7, if I use `check/carry out` with `restoring the game`, the game prints a message that the restore failed.

    to say help:
        say "This is the HELP text for this game."

    carry out restoring the game:
        say help;
        continue the action;

- inform7
- restoring

## 1 Answer

0 votes
answered Mar 30 by AndrewS (250 points)

If you are using Inform 6L, you can do the following:

    The restore the game rule response (B) is "This is the HELP text for the game."

commented Mar 30 by AndrewS (250 points)
You can also change variables, such as turning hints back on, e.g.
The restore the game rule response (B) is "This is the HELP text for the game[hints-on]."
view-hints is a truth state that varies. view-hints is usually true.
to say hints-on:
if view-hints is false:
say ". You blocked hint viewing, but it's restored."
More detailed logic is here: http://www.intfiction.org/forum/viewtopic.php?f=7&t=15482

## Related questions

- how do I print a message on the Xth turn in inform 7?
- How do I print two distinct objects from a list (Inform 7) in a description?
- How to get rid of a rule that's blocking what I want the player to do? (Inform 7)
- How do I move an item I have more of in the world (since it's a kind of thing)?
- Inform: How do I get the player to input a name for themselves? The name keeps changing to whatever the player typed last!

...