Message Template Parameters for Alert Box Widget on Streamlabs, Twitch and Youtube

streamlabs variables

Add custom commands and utilize the template listed as !. Some variables/parameters are unrestricted, while others are restricted to specific sections of Cloudbot. As you can see in the Loyalty section, some commands say only Loyalty, while others say Custom Commands and Loyalty. The ones that indicate Loyalty can only be used within the default loyalty commands, while the ones that say Custom Commands are unrestricted. You can foun additiona information about ai customer service and artificial intelligence and NLP. Uptime — Shows how long you have been live. Do this by adding a custom command and using the template called !.

With aliases, you can simply add ! Following as an alias so that whenever someone uses ! Following it would execute the command as well.

streamlabs variables

Parallel timers means that if you have Timer A set for 5 minutes, and Timer B set for 5 minutes, they will both trigger simultaneously. Any timer that is set in multiples will trigger at the same time. And 4) Cross Clip, the easiest way to convert Twitch clips to videos for TikTok, Instagram Reels, and YouTube Shorts.

Top Cloudbot Commands

If you stream to YouTube, your stream needs to be a public stream, otherwise the bot will not join and they will not trigger. Hugs — This command is just a wholesome way to give you or your viewers a chance to show some love in your community. Merch — This is another default command that we recommend utilizing. If you have a Streamlabs Merch store, anyone can use this command to visit your store and support you.

Use $setvar(variablename,value) inside or outside of $ifs. To use one of your variables, simply do in any chatbot output (except script messages). $setvar(variablename,value)

$varPE(variablename,increment) – adds the increment to the variable. $varME(variablename,decrement) – removes the decrement from the variable. The cost settings work in tandem with our Loyalty System, a system that allows your viewers to gain points by watching your stream. They can spend these point on items you include in your Loyalty Store or custom commands that you have created.

To get started, all you need to do is go HERE and make sure the Cloudbot is enabled first. It’s as simple as just clicking on the switch.

Duel you will be able to challenge another viewer. If you wish to wager your points against each other use ! The Slots Minigame allows the viewer to spin a slot machine for a chance to earn more points then they have invested. Video will show a viewer what is currently playing.

streamlabs variables

Now click “Add Command,” and an option to add your commands will appear. Keywords are another alternative way to execute the command except these are a bit special. Commands usually require you to use an exclamation point and they have to be at the start of the message.

JSON Parsing

If you stream to YouTube, your stream needs to be a public stream, otherwise the bot will not join. You can navigate anywhere in the file, as deep as you need to go. The whole concept of this script obviously revolves around the $if. So USERNAME”, a shoutout to them will appear in your chat. Next, head to your Twitch channel and mod Streamlabs by typing /mod Streamlabs in the chat. First, navigate to the Cloudbot dashboard on Streamlabs.com and toggle the switch highlighted in the picture below.

Let’s jump right in and go over things. Set up rewards for your viewers to claim with their loyalty points. This is useful for when you want to keep chat a bit cleaner and not have it filled with bot Chat PG responses. In the above example you can see we used ! Followage, this is a commonly used command to display the amount of time someone has followed a channel for. Let’s go over some of the basics.

Do this by clicking the Add Command button. This will open up the following modal. This Module allows viewers to challenge each other and wager their points. Unlike with the above minigames this one can also be used without the use of points. There are two categories here Messages and Emotes which you can customize to your liking.

If you don’t want alerts for certain things, you can disable them by clicking on the toggle. This could be anything, as long as it follows the mode rules below. The mode will specify how the script should compare the two comparers. The modes and what they do are listed below

the fourth argument is the message that should be sent when the condition is met. This will be parsed only if the condition is met, and has several parameters that can go inside it. The fifth argument is the message that should be sent when the condition is NOT met.

streamlabs variables

This Module will display a notification in your chat when someone follows, subs, hosts, or raids your stream. All you have to do is click on the toggle switch to enable this Module. Nine separate Modules are available, all designed to increase engagement and activity from viewers. If you stream to YouTube, your stream needs to be a public stream, otherwise the bot will not join and they will not work.

Twitch Host Alert

Unlike the Emote Pyramids, the Emote Combos are meant for a group of viewers to work together and create a long combo of the same emote. If you go into preferences you are able to customize the message our posts whenever a pyramid of a certain width is reached. The Magic Eightball can answer a viewers question with random responses. Once enabled you can adjust the Preferences.

Use these to create your very own custom commands. You can get as creative as you want. Cloudbot from Streamlabs is a chatbot that adds entertainment and moderation features for your live stream. It automates tasks like announcing new followers and subs and can send messages of appreciation to your viewers. Cloudbot is easy to set up and use, and it’s completely free. Shoutout — You or your moderators can use the shoutout command to offer a shoutout to other streamers you care about.

This command can be used either as ! When someone gambles all, they will bet the maximum amount of loyalty points they have available up to the Max. Amount that has been set in your preferences. The biggest difference is that your viewers don’t need to use an exclamation mark to trigger the response.

An Alias allows your response to trigger if someone uses a different command. In the picture below, for example, if someone uses ! Hello, the same response will appear. Customize this by navigating to the advanced section when adding a custom command. To add custom commands, visit the Commands section in the Cloudbot dashboard. The Media Share module allows your viewers to interact with our Media Share widget and add requests directly from chat when viewers use the command !

Request — This is used for Media Share. If you are unfamiliar, adding a Media Share widget gives your viewers the chance to send you videos that you can watch together live on stream. This is a default command, so you don’t need to add anything custom. Go to the default Cloudbot commands list and ensure you have enabled ! Request in the media share section. So ive built that into this script.

Modules give you access to extra features that increase engagement and allow your viewers to spend their loyalty points for a chance to earn even more. If you wanted the bot to respond with a link to your discord server, for example, you could set the command to ! Discord and add a keyword for discord and whenever this is mentioned the bot would immediately reply and give out the relevant information. You can fully customize the Module and have it use any of the emotes you would like. If you would like to have it use your channel emotes you would need to gift our bot a sub to your channel. By opening up the Chat Alert Preferences tab, you will be able to add and customize the notification that appears on screen for each category.

Want to learn more about Cloudbot Commands? Check out part two about Custom Command Advanced Settings here. If you want to learn more about what variables are available then feel free to go through streamlabs variables our variables list HERE. To get started, check out the Template dropdown. It comes with a bunch of commonly used commands such as ! Once you have done that, it’s time to create your first command.

How do I set these up?

Once a combo is interrupted the bot informs chat how high the combo has gone on for. The purpose of this Module is to congratulate viewers that can successfully build an emote pyramid in chat. Once you have set up the module all your viewers need to do is either use ! Wrongvideo can be used by viewers to remove the last video they requested in case it wasn’t exactly what they wanted to request. Skip will allow viewers to band together to have media be skipped, the amount of viewers that need to use this is tied to Votes Required to Skip.

If you aren’t very familiar with bots yet or what commands are commonly used, we’ve got you covered. In this new series, we’ll take you through some of the most useful features available for Streamlabs Cloudbot. We’ll walk you through how to use them, and show you the benefits. Today we are kicking it off with a tutorial for Commands and Variables.

  • It’s as simple as just clicking the switch.
  • The Media Share module allows your viewers to interact with our Media Share widget and add requests directly from chat when viewers use the command !
  • Remember to follow us on Twitter, Facebook, Instagram, and YouTube.
  • Keywords are another alternative way to execute the command except these are a bit special.

Spam Security allows you to adjust how strict we are in regards to media requests. Adjust this to your liking and we will automatically filter out potentially risky media that doesn’t meet the requirements. Under Messages you will be able to adjust the theme of the heist, by default, this is themed after a treasure hunt. If this does not fit the theme of your stream feel free to adjust the messages to your liking. Timers on Cloudbot are not sequential but are parallel.

If a command is set to Chat the bot will simply reply directly in chat where everyone can see the response. If it is set to Whisper the bot will instead DM the user the response. The Whisper option is only available for Twitch & Mixer at this time.

Loyalty Points are required for this Module since your viewers will need to invest the points they have earned for a chance to win more. After you have set up your message, click save and it’s ready to go. To get started, navigate to the Cloudbot https://chat.openai.com/ tab on Streamlabs.com and make sure Cloudbot is enabled. It’s as simple as just clicking the switch. Please note that if you are using line minimums, Cloudbot will count only the last 5 minutes worth of chat toward meeting the line minimums.

As of V2.2.0, this script now features $parsejson, which allows you to pull JSON data from a file, and grab a specific key from it. This is a rather advanced feature, and if you don’t know what this is, feel free to skip this section. To use this, simply use the $parsejson parameter, and provide it with a filepath to a JSON file. Afterwards, use an anchor to specify where in the json file to go.

What is Reply In?

If you haven’t enabled the Cloudbot at this point yet be sure to do so otherwise it won’t respond. If you have any questions or comments, please let us know. Remember to follow us on Twitter, Facebook, Instagram, and YouTube.

All they have to do is say the keyword, and the response will appear in chat. In the above example, you can see hi, hello, hello there and hey as keywords. If a viewer were to use any of these in their message our bot would immediately reply.

In part two we will be discussing some of the advanced settings for the custom commands available in Streamlabs Cloudbot. If you want to learn the basics about using commands be sure to check out part one here. Don’t forget to check out our entire list of cloudbot variables.

This will only be parsed if the condition is NOT met. If you want to adjust the command you can customize it in the Default Commands section of the Cloudbot. This module also has an accompanying chat command which is !

streamlabs variables

The Reply In setting allows you to change the way the bot responds. The two options are Chat or Whisper. Variables are pieces of text that get replaced with data coming from chat or from the streaming service that you’re using.

Emote Combo

Unlike commands, keywords aren’t locked down to this. You don’t have to use an exclamation point and you don’t have to start your message with them and you can even include spaces. The Global Cooldown means everyone in the chat has to wait a certain amount of time before they can use that command again. If the value is set to higher than 0 seconds it will prevent the command from being used again until the cooldown period has passed. In the above you can see 17 chatlines of DoritosChip emote being use before the combo is interrupted.

streamlabs variables

Votes Required to Skip this refers to the number of users that need to use the ! Skip command before a video is skipped. Max Requests per User this refers to the maximum amount of videos a user can have in the queue at one time. This module works in conjunction with our Loyalty System. To learn more, be sure to click the link below to read about Loyalty Points. If you have a Streamlabs tip page, we’ll automatically replace that variable with a link to your tip page.

User Cooldown is on an individual basis. If one person were to use the command it would go on cooldown for them but other users would be unaffected. The advanced section contains a lot more customization.

Blacklist skips the current playing media and also blacklists it immediately preventing it from being requested in the future. Volume can be used by moderators to adjust the volume of the media that is currently playing. Veto is similar to skip but it doesn’t require any votes and allows moderators to immediately skip media. Once you are done setting up you can use the following commands to interact with Media Share. Max Duration this is the maximum video duration, any videos requested that are longer than this will be declined.