Is there a way for the game to set a remembered variable if a script is ran?(This code being <<script>>window.close()<</script>>)
In my game, a game over by a certain character will forcibly close the game(BAD END). While I know this is annoying to some, I want the game to remember this so when you reopen the game; it will goto a passage.
non working example being:
<<if <<script>>window.close()<</script>> >>
<<set $remember to 1>>
<<remember $remember is 1>>
At title(beginning passage)
<if $Remember is 1>> goto [[you meet a terrible fate]]<</if>>
basically, I want the game to remember when you get a game over and display a passage once or for multiple game overs.(if possible).