#(Arkyoh) Is there a "do nothing" command?

9 messages · Page 1 of 1 (latest)

severe steeple
#

I have a choose case that looks like:

- choose <[cases]>:
  - case 0:
    - do nothing
  - case 1:
    - define something
  - default:
    - define something else

Basically, I just want to do nothing in the case 0 and I feel really dumb not finding anything about such a command (similar to the "pass" in python).
I could also add an "if" condition either before the choose or in the default case but that would look messier.

Should I just keep going with a - define _ _ or a - wait 0t or is there another command for that kind of case?

candid egretBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

sour sinew
#

Hmm

#

Could you provide more context to your question?

#

requiring a specific case to do nothing, looks like a bad implementation

#

why do you need case 0 to do nothing

severe steeple
# sour sinew Could you provide more context to your question?

Well, while trying to explain the issue I just figured out that using a choose case was just overengineered 😂
Replacing it with the following just solves the issue

- if <[cases]> == 1:
  - define somthing
- else if <[cases]> != 0:
  - define something else