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

Add parse-level support for a delay timer before next command #17

Open
jdalley opened this issue Sep 21, 2024 · 0 comments
Open

Add parse-level support for a delay timer before next command #17

jdalley opened this issue Sep 21, 2024 · 0 comments

Comments

@jdalley
Copy link
Owner

jdalley commented Sep 21, 2024

Herdias had a suggestion for augmenting the parse part of commands to add a timer of sorts:

Command from a script as an example:

{
  "command": "go path",
  "parse": [
    {
      "moveNextNow": true,
      "outcome": "You must be standing",
      "moveNextAfterMs": 2000 // Not required, will override the extension's Cmd Delay Range (ms) setting for ONLY the next command.
    },
    {
      "moveNextWhen": "You arrive",
      "outcome": "You run down"
    }
  ]
}

Property name TBD, other options:

  • timer
  • delay
  • delayBeforeNext
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