Commercial Timer

Description

This allows you to create a timer in Streamer.bot that auto plays a 180 second commercial every hour on the hour.

Import Code

TlM0RR+LCAAAAAAABADVWktvI0UQviPxH4ZIaC/bq35UP4rbggDtAQ67Ag6IQ3V3dbBwxsGPfQjx36mxYyXxJqzHsROtFcWe6Zlxf/X46qtu//PlF1139pbni8msP/umM8/XJ3q6YDk6O9scUlnK8ELO/D4cd90/mzcZmtThOoPUCIJXqaFV4GtV2XhSDAi1RpfQps2z1jf9veLV8Px+NZ1en+We8pSH5y3nK74+v53Mm+Wc6aJ7s6T5Ui67vuB8PltdDle8XC1n3Q+r/mq611fQ9B19WLxe9R89fE59nV28XN8hg42mixujZdaX1XzO/fLjsY+Mcssw60ve0nSN03mt9fNbQxf0/ter0Z2RzYw++r4b1m7Rm+AgK+1tGqwdFemSFLJ8j6s+e41nt298x5PzPwcQ+sXO1y0/XA6TMFrb2wNbq95y0mYWfeX3w7Ouz/77/D4b1NWcroxrkr4LDgYukAwryFH+UTEqATSlAzpEp6NraTQcHAvG7ANmObng+av1rAuBca4F5azVMvVMKqeWlUyZk4XUrKadWS+WtLzD4RsrENbkQ9UKIwQFzFqs4LQiHx1hhgZutFPTWCO4fYywjWqDR4xpoyMYa7wq3oCCYIRBHHrFteTGzTvn62PEtL1hge3HP3aT/sfhMevM/+MmV0yndLngemN0M7g15S5rUqaidbEqBi2Bz74oSs3IJwmsmLN3HB7MmkJ63XezC4nbMqHp58CaS34/3Hj2dZ7PqBZaLH9Z8PzrbrJ8tuiGDOzabN5R31HtspSEv77qulfL7t1kOu0yn0/6Tv6C7hYsE6mLFy9e7ATO5Zwby/zqy1Jmq/Us70xJHxkgNFAtRknxpKNKuhSFlTlW06BmPz4m747Is7O743Evjt1m5FBmjpiTsbIFn7wCGOoMeysUJ/hrSgbR1kw5PEZO7kfNV1Fj9OEOT0WmF4tTzaOQUBMiRvBGMZJuFXKQinQsh+9HQZ8m4aN6PDRXsFYRbgJV3F5ZJWKRdZ4pVJeTq/wYHt+rDm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2yB9jTCh0RIDLReRu9opL61cQA9g3I1l1Yf9JOT7vk76889ib/MoPyAwd0WY5FspEl3SSNWBiFwVpZ2CkLKJGJyL0Y3W16N/QKBPEWHD2+bKTZhsB//9D9Lapke+JAAA

Installation

This will only work with Streamer.bot 0.1.5 and later!

This setup allows an easy way to have an auto commercial timer without any complicated maintenence and should allow for a one and done setup.

In Streamer.bot in select Import from the top left.
Copy the Import Code and paste it into the Import String.

Configuration

Create a Timed Action called Auto Run Commercial and set it to 3600 Interval, Enabled No, 0 Lines and then tie it to the Run Commercial Action.

Create an OBS Event for StreamStarted and tie it to the Stream Started Action and make sure it is Enabled.
Create an OBS Event for StreamStopped and tie it to the Stream Ending Action and make sure it is Enabled.

Make sure to change the OBS Set Active Scene in the Run Commercial Action to your BRB Scene and your Live Scene for Auto Switching scenes on Commercial.

commercial_timer4

Make sure the Timer subaction in both the Stream Started Action and Stream Ending Action are pointed to the Auto Run Commercial Timed Action.

commercial_timer6

commercial_timer5


With this complete, everytime that you hit Start Streaming the timer will enable and play a 180 second commercial during your Starting Soon scene. After that, the timer will give chat a 60 second warning, countdown in chat for the last 10 seconds, then play a 180 second ad, and swap from your live scene to your BRB scene. After the commercial is done the timer will switch from your BRB scene to your live scene and let chat know that you’re back. This will happen every hour on the hour. When you hit stop streaming the timer will disable and will no longer run until you hit start streaming again.


If you would like to alter anything in this timer you may. Like changing the ad length to a shorter length or removing the auto switching between scenes. If you do you MUST alter the delays as well or the timer will not function properly.