Created
January 12, 2023 02:07
-
-
Save FelixWolf/3797e750dc8ce9ec118c40aba6a6e121 to your computer and use it in GitHub Desktop.
Close dream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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