[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.