Display Subscriber Count with a Command


[ratings]

This is a simple command chat can use to see how many subscribers you currently have.

Navigate to your chat bot custom commands, click Add New Command.

Name the command “subs” and the Response type:

My community has ${channel.subs} subscribers.

Customize this message, keeping the variable that will display the total number. Click Activate Command.

Any time someone in chat users “!subs” it will respond with your message and total subscriber count!

Creating a Wins Counter


[ratings]

In this tutorial you will learn how to do a “wins” counter, complete with a “set” command and “reset” command!

We’re going to navigate to Chatbot > Commands > Custom Commands and click Add New Command.

We’re going to name the command “wins“, set the User Level to Moderator so not just any one can use our command, and use the following Response:

I currently have ${getcount wins} wins!

Now we need a command to add a win to the “wins” counter, so it will look something like this and will increase the number by 1. Add New Command, name the command “addwin“, set the User Level to Moderator, and Response type to:

I now have ${count wins} wins!

Type “!addwin” in your chat to set this to 1 and also create the “wins” counter. You can customize these commands to do what ever you please: win counter, death counter, etc. The word “wins” after “getcount” and “count” will be what ever you want your counter name to be, just make sure they match so they are talking to the same one.

Do you have numerous wins and would like the counter to start there?
You can set the counter to any number using the following command. Name the command “setwins“, User Level to Moderator, and the Response type below.

Wins now set to: ${count wins ${1}}

Type “!setwins 15” in your chat (15 being how many wins you actually have) and the counter will be set.

Are you wanting to reset this to 0 each stream?
You can reset the counter to 0 (zero) at any time by creating a reset command. Add New Command, name the command “resetwins“, User Level to Moderator, and Response type to:

Wins have been reset to ${count wins 0}

You can customize these commands to any thing you would like, keeping in mind the name of the counter inside the variable so everything is communicating with the same one!

Near Completed!


lSparz.com is officially almost completed! I’m going to set a custom landing page for the Tutorials section with category images and get rolling with some more content for chatbots.

The official dark theme for vBulletin needs a couple more tweaks, but is functionable and in place so the forums are also live! Head on over to the Shop, our first official product is there and available for purchase as well!

More to come, see ya soon!

How-To: Make a !hug Command!


[ratings]

In this tutorial we will be creating a simple, but fun command that allows one chatter to “hug” another!

Select the Actions tab:

in the Actions Panel right click and select Add. Name your command and a Group if you choose to (group is optional). I’m going to use Hugs as the name and Tutorials as the Group. And press OK.

Now we want this to be triggered by a command, so in the Triggers panel right click and select: Core > Commands > Command Triggered.

Click Create Command and the following window is what you will see. Give your command a Name and the command you would like it to be. In this case !hug.

Now we need to grab your username and the target user information so we can output the command in chat with a custom message so lets get to it! In the Sub-Actions panel right-click and go to: Twitch >User > Get User Info for Target

For Source Type we’re going to select From Input:

Lastly we need to output a message in chat. Once again in the Sub-Actions panel, right-click and go to: Twitch > Chat > Send Message to Channel.

Customize the following to say as you please, keeping both %user% (the person who used the command) and %targetUser% being the person who receives the hug.

Click the Chat widget at the top of Streamer.Bot and test your command out! I have customized mine, thus the output looks a bit different, but will yield the same result!

You can also use “@” in front of the persons username as well, or just their name in general. Either way will give the result.