Is there an END command?

0 votes
asked Aug 10, 2017 by Liamw104 (2,880 points)
Hi, I was wondering if there was an end command for sugrcube V2.

What I mean by end is when executed it will shutdown the game (Non browser).

If anyone has an idea on how to do so please comment javascript works too.

1 Answer

0 votes
answered Aug 10, 2017 by Chapel (46,530 points)
What exactly would this end command do, though?  Short of closing the tab somehow, I don't see how it would do much.  What do you need it for?
commented Aug 10, 2017 by Liamw104 (2,880 points)
My hopes are that there is a command that once activated will end the task or tab.
commented Aug 10, 2017 by Chapel (46,530 points)
You can't close windows or tabs the user opened in most browsers. You can attempt to call window.close() with a <<run>>, but it probably won't work and is also kind of a fishy thing to do.
commented Aug 11, 2017 by Liamw104 (2,880 points)
Thanks, it does exactly what I hoped for.
Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.