Skip to content

Instantly share code, notes, and snippets.

@FelixWolf
Created January 12, 2023 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FelixWolf/3797e750dc8ce9ec118c40aba6a6e121 to your computer and use it in GitHub Desktop.
Save FelixWolf/3797e750dc8ce9ec118c40aba6a6e121 to your computer and use it in GitHub Desktop.
Close dream
* Ensure it is set to zero. It should already be set to zero but do it just in case.
(0:0) When everything is starting up,
(5:300) set variable %dreamclosed to the value 0.
* Restrict it to the owner
(0:31) When someone says {!closedream},
(1:10) and they are the Dream owner,
(5:300) set variable %dreamclosed to the value 1.
* This works because anyone entering the dream will trigger it
* as well as anyone who moves or doesn't move. There is no scenario
* where this will not eject someone within 1 second.
(0:9) When someone arrives in the Dream,
(1:200) and variable %dreamclosed is equal to 1,
(0:1) Whenever someone moves,
(1:200) and variable %dreamclosed is equal to 1,
(0:71) When someone stays in the same square for 1 seconds,
(1:200) and variable %dreamclosed is equal to 1,
(5:200) emit message {This dream instance has closed because of a update! Please try furc://<YOUR DREAM URL HERE/, or enter our portal at <DIRECTIONS TO PORTAL> if you continue to see this message!} to the triggering furre.
(5:78) eject the triggering furre from the Dream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment