About this example
While an unidentified object is on trajectory to strike Earth, the user names properties of the object until time runs out and the object reaches Earth. Messages are appended dynamically to the conversation flow, which is interrupted at the strike. This demonstrates a way to apply pressure or suspense within the chat or to limit a user’s interactions on a topic.
Techniques to look out for
- Measuring time with interaction_count or _age [3.4]
- Learn on wildcards [3.6]
- Appended phrases and learns on appended phrases [3.2]
Suggested scripting practice
- Apply a “countdown” to a previous example.