diff --git a/streamerbot/1.get-started/_faq/35.while-subaction.md b/streamerbot/1.get-started/_faq/35.while-subaction.md index 93366594..37f88405 100644 --- a/streamerbot/1.get-started/_faq/35.while-subaction.md +++ b/streamerbot/1.get-started/_faq/35.while-subaction.md @@ -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. diff --git a/streamerbot/3.api/2.triggers/twitch/ads/ad-run.md b/streamerbot/3.api/2.triggers/twitch/ads/ad-run.md index 34320022..6f36d1a0 100644 --- a/streamerbot/3.api/2.triggers/twitch/ads/ad-run.md +++ b/streamerbot/3.api/2.triggers/twitch/ads/ad-run.md @@ -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?