Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 505 Bytes

exit.md

File metadata and controls

24 lines (20 loc) · 505 Bytes
group
Flow

Stop and Kill

The stop and kill statements are key to using the block system.

Overview

The @stop statement exits the current context. To use it, just write @stop. The @kill statement exits the current story (all contexts). TO use it, just write @kill.

Example

start
  Welcome to my text adventure!
  @menu Do you want to leave?
    Yes
      @stop
    No
      @pass
  Goodbye!

In the example above, the user can exit early by selecting Yes.