User Tools

Site Tools


Sidebar

Passage markup

basics

coding

extra

list

section

whitespace

Macros

basics

colour

data structure

date and time

game state

live

maths

number

revision

saving

showing and hiding

string

styling

url

deprecated

Types of data

Special keywords

Special passage tags

harlowe:reload

(reload: ) → Command

When this command is used, the player's browser will immediately attempt to reload the page, in effect restarting the entire story.

Example usage:

(click:"Restart")[(reload:)]

Details:

If the first passage in the story contains this macro, the story will be caught in a “reload loop”, and won't be able to proceed. No error will be reported in this case.

harlowe/reload.txt · Last modified: 2017/10/10 00:39 (external edit)