Store Live Stream Present Viewers
This simple Streamer.bot extension allows you to convert Present Viewers to a variable that can be used throughout other actions, without needing to rely on the Present Viewers
trigger. This simple add-in negates countless nested if/else statements and allows you to work directly with the list of viewers currently present in your Twitch, YouTube, and Trovo streams! (Yes, it supports multiple platforms!)
Setting Up Store Live Stream Present Viewers
In Streamer.bot click the Import
button in the top menu. Drag the downloaded .sb file into the Import String
field and click Import
. You will see 1 Action
and nothing else.
Editing Group Name in Streamer.bot
Change the %excludedGroup%
argument to a group that you don't want to be included in your currentViewers
list.
How-To Get Current Viewers in Streamer.bot
To use this list in other actions, add a "Get Global" sub-action ( found under Core -> Globals -> Global (Get)), uncheck the Persisted box, then type currentViewers in both the 'Variable Name' and the 'Destination Variable' boxes...leave 'Default Value' blank. Then you can use %currentViewers% list.
You can now iterate through your list of Current Viewers
to do things like add points, add watchtime, timeout half the chat, or whatever else your heart desires! Enjoy!!