Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is until eternity with nested blocks ok? #289

Open
JollyWizard opened this issue Feb 15, 2023 · 1 comment
Open

Is until eternity with nested blocks ok? #289

JollyWizard opened this issue Feb 15, 2023 · 1 comment

Comments

@JollyWizard
Copy link

JollyWizard commented Feb 15, 2023

I'm wondering if this is a bug or a "feature".

I would expect this code to exit, but it keeps getting stuck in the until loop, and the reality wont complete. Full automator speed, 1.5 glyph speed enhancement. No black holes.

  auto eternity 5 sec
  eternity respec
  until eternity {
    studies nowait load name aTD
    if total TT > 5000 {
      eternity
    }
  }

The reason I believe this is a bug, is because there are two eternities firing repeatedly while this is stuck in a loop waiting to detect one.

@JollyWizard
Copy link
Author

JollyWizard commented Feb 15, 2023

This is what the manual currently says, so I think it is a bug:

If an prestige event (ie. Infinity, Eternity, or Reality) is specified instead of a condition, then the block will always be entered and the commands within the block will repeat until the event occurs for the first time after entering the block. Note that the Automator will finish the rest of the loop and then exit after the prestige event occurs - it will not immediately exit the loop in the middle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant