Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.25 KB

File metadata and controls

39 lines (23 loc) · 1.25 KB

Loops

Repeat forever

To make your script run forever.

Example of using repeat forever

Repeat while & until

While condition will run when it´s true, until will stop when it´s true

Example of using While and Until loop (these are the same)

Count with I from X to Y by Z

Example of using count with I loop

{% code title="Output" %}

a
b
c

{% endcode %}

For each item in list

Good to make a loop for example. for every member check if someone has a role

Example of using for each item loop

Output will be the same as Count with I loop

Break out of loop

Basically stops the loop script

Example of using break out of loop