Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion streamerbot/1.get-started/_faq/35.while-subaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ In this example, we create a numeric variable `%myNumber%` and set it to `1`. Wi

For the configuration, we use `%myNumber%` as the **Input**, `Less Than` as the **Operation**, and `5` as the **Value**. This means that as long as the variable is less than `5`, the loop will continue to run. Once it reaches `5`, the loop ends and execution continues with any subactions that follow.

**⚠️ Note:** A misconfigured *While* subaction can cause an infinite loop. In such a case, you’ll need to exit Streamer.bot to stop it. Be careful when setting up loops and always ensure you have valid break conditions.
**⚠️ Note:** A misconfigured *While* subaction can cause an infinite loop. In such a case, you can rightclick the **While** subaction and click **Break Running** . Be careful when setting up loops and always ensure you have valid break conditions.



Expand Down
4 changes: 4 additions & 0 deletions streamerbot/3.api/2.triggers/twitch/ads/ad-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ variables:
type: number
description: The length of the ad in seconds
value: 90
- name: adLengthMs
type: number
description: The length of the ad in milliseconds
value: 90000
- name: adScheduled
type: boolean
description: Is the ad scheduled?
Expand Down
Loading