Squiso is a free, powerful automation tool that lets you customize your Twitch stream using simple scripts.

How to Create a Twitch Chat Announcement When Someone Follows the Channel

This script example listens to new channel follows and then sends a thank you chat announcement.

Script Example

import com.squiso.*; import com.squiso.exception.*; import com.squiso.scripting.*; import com.squiso.scripting.data.*; import com.squiso.keyboard.*; import com.squiso.twitch.*; import com.squiso.datatypes.*; import com.squiso.utils.*; // Important - Please do not change the row below - otherwise you will get a compilation error! public class Script_Example extends SquisoScript { @Override public void onTwitchChannelFollow(OnTwitchChannelFollowData data, API api) throws SquisoException { // Create the announcement message SquisoString message = new SquisoString("Thank you for the follow " + data.getUserName() + "!"); // Send an orange Twitch Chat announcement SquisoString color = new SquisoString("orange"); api.sendTwitchChatAnnouncement(message, "orange"); } }