Streamer.bot-c-Scripts
Quote from Mrr Zed0 on August 25, 2025, 5:58 amExecute C# Code For Streamer.bot
Change rawInput To ARGB Color Code.txt For Streamer.bot
This script will take the rawInput value color that is a word from the user and turn it into a ARGB Color Code.
This script also sets Arguments goveeColor.color.a goveeColor.color.r goveeColor.color.g goveeColor.color.b
Change rawInput To HexColor Code.txt For Streamer.bot
This script will take the rawInput value color that is a word from the user and turn it into a HexColor Code.
This script also sets Arguments goveeColor.html goveeColor.htmlalpha
Home Assistant Lights Control.txt For Streamer.bot
This script can connect streamer.bot and turn on or off any lights that are connected to Home Assistant.
Home Assistant TV Control.txt For Streamer.bot
This script can connect streamer.bot and turn on or off any TV devices that are connected to Home Assistant.
BadWords_Checker.txt For Streamer.bot
This script will use the BadWords.txt to check for any bad words in the chat and if so sets an arg to true or false.
It also adds the targetUser to blockedUsers.txt.
Streamer.bot Export:
U0JBRR+LCAAAAAAABAC9WVlz4kgSft+I/Q+EX3fk1YnRROwDUlsgbNPmEqBxP6gOJDU6WB2AmJj/vlkSlwC7PR0z6whsqzKrKvPLL7OUxe///EejcRfSzLn7tfE7e4DHyAkpPN69FI3H7SpOsrtf9hInz7w4KWVJYlPCHyVrmqR+HDGRcM/fnwSEpjjxV9leeL5UPMyjNt5LojwIDrLQj/wwD63jmkzIZH+UGnfEqdnrlGukMPJbNdI4iEqxT9jGvLgQFLlFOEFRBE5WkMM5RIBHRGUkY8lpYXowrpz235zmJQwPoooF4aHFyQ5FnMxjwjlUbcIvJPMKaeKHJl+bSSMHBZTtmiU5rUm2OMgJNZI47PppFicFKC2cIH1P65VGxI/cW1qHKGkOmcYJSRu/jTd+hr1vNVvcJM5XZcBiQhMHtqyJnWDjFCnE4YaxiRORODwG6MoAHEc4TxIaZbekWeK7LgTwPCoXkTmLjtwSFOwsFK5FqMJBmFrwnwIYS7JChIWMWqpybni1RbFiCAiSdCl5NwInfNMDZb6dS/84PXyr4XRNsVvOHGJyZeo7WXDCmi4oIInp1RalWP/17W3qQzg26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yiNCpb8L8f3TTOE0z3oAjXkP6Q1osFkSlgwuEmTzjZaS44lUpNTnCwsFAcRaJy82fgUq4ER7Q6iYMa1QVSQ0tih2AH+vKkYUaLOAmd8uLirwDuw/uVDrPmkzdGC6ySBZIl7kFVREh9R+ZUUaacQmRVboq8jJrSn8LocHfzM0hUV2XvlbOfoFDlo0gI5gWEOQHLkDay8sC1BNzi+AdBkuhCQU28+CkfP50bn3NM+LOOtQivqlRucRSpQHCCmpzqNEWuKRBBRrxKaMv5Kcf+76X5cwCJn8kBHAeBs0opOaXB8W5yP+egX11O/+DG+0/fW6Mgxssf3Da3R+3Xu/esgpeEEPCoTD8MbihKYV2ajWiy3l8IXwv1wGdcrAkzPzzon13+n75pEKraekfLLykoYRfm5WlzL963Ks+uv0oopTKHaObcN8GTP/4HJBOwlgMZAAA=
Link_Checker.txt For Streamer.bot
This script will check every message in chat for any links and set arg to true or false if the comment contains a link.
This works with https://www.google.ca, https://google.ca, google.ca.
This will also add targetUser to the text file blockedUsers.txt.Streamer.bot Export:
U0JBRR+LCAAAAAAABADNWdly4sgSfb8R9x8Iv96RRytI8wa0EcJY3WZH436oTUJG22gBxET/+80SYFuAuz09MRHTEbQsZarqVJ6TWWTx53//02jchCxHN781/uQ3cBuhkMHtzUPZuNslcZrf/HK0oCJfxWllS1OHUfHFsmFp5scRN0m34u2rgbKMpH6SH41vh4pHRdQmR0tUBMHJFvqRHxbh7GVMbuS2b5XHDUU1vKgaI4Mnvx+eNE6myuxTPrGiEGyohiHICLUE1VCIoIvYFXRJRqokItqS2Qlc9dofBSuqMLRkg0hSSxdUxLCgioQKiBlN+A+rokabpNUUa2+yCOGA8VnztGA1y44EBWW9NA77fpbHaQlOLgqy97y+sIj6kXfN68TS0I/Wje6KkTVLG79Ptn5OVl9reLw0LpKKtJiyFMG0NTMKtqjMgIsrgFMU0Th8IekCBIkjUqQpi/Jr1jz1PQ9IfMvMGTtvGCKq7raYZggtpANDhEoCJkgU3KauUoL0psGUt8APU5QJ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cCyDHlsnIMlgb6oe+yLG+1GddABLuO4MVmx6E2v1DAZtJ9tSuEFGGzCdnmjB0FutCPK+9Oqu+IGaJwa0KT2eKz++Qbr/CTgtBYr4gg5wPfPAz7g+6FTAblFVdYUVUFqykhQVdYSdN3QBWg7ka6pSlNT9X/5qYD08cMZk0P44HGTZOCWQlVNcJEuCapOdQHrsioY8Kck6tiQNPKXInPqp/9em384cXsvoX9ChcfjDh1RVRU1gTGXCqpGiaAbLSJg1HINZrQo1ps/tdoPk/2xhUl/dWGaJDJYA+GKJoLaUoFBKrqCQXRdxAhRjbR+bmH/quL0sejJH0kVEgcBSjJGX7Pl5fzz+M7J/3AI/oOT9b98Po6DmKx/cKrdHre/3LyHCvbQEOJxgH56uGU4g3FZPmbp5njofGnsBj4Xas2Y++HJ/82PDK+/aEiH88UbVv0Ywig/mOcYxVv59lg8L3+yqKyqgFmObpuwkm//B5BOvqhrGQAA
Broadcaster Checker For Streamer.bot
This will check if the message or alerts are from the broadcaster.
If true it will not perform any other actions.Streamer.bot Export:
U0JBRR+LCAAAAAAABADtV1uL4zYUfi/0P5jAvo2CZMu23Lfp0m7nYcuyO+1Dl6EcSccZs76ksj0XhvnvlXxJ4jhhM+lAW1gHAtInHZ1zvk+X8/T9d563KLCBxQ/ek2vYZgkF2ubi/aP308O6Ms3iYkCgbW4r02HG/IGabpA7NHVWlQ5iS7rcAhprZbJ1M4C7pqqPbXmpBqRs83zEiqzMirb4fWPTgQ577kYsNEz8hc5GbXs+9z3eCHVwpt3CNA14goEgLBSK8JAhEZRTQgWnWnIhlFCjc920v1psuzTEfqIYiwXhgJJwqjQBTCL7JzkNdaTiiE5mYgkyR7dqY1qcIA8qbzX+bKril6xuKvNoB6WQ18dGfcBSZ+Xq0KiRpR9NBVpB3aD58+0tqi9ovM/X91mjbm8mbq1M1a477iqNBuzqExjye3isLSUH/DZQ6qrYcDXzRVWlao3BsjmENiZbrSyXuwTtkdRrCEzmMucGPj1f7KE9jQJ4pCMaEy1CTXgQhUSKMCIJ9RWTgQIMYLE/tXlcu1TF1N9HjlK1JaIetXWziz5vGzeTLM61eCjUPpiUs4hjKommKrGa9BlJVKpsRMADjEAnnM+CucdsdevybHfZkUB9tg9suH9nQHq9Orwd5XhXZVqZAjqCX5akrNT44NyZpOfiFKJ/HSTcgFlh81uNZrZ2tXZS7WU3C/cO8n6LvpFjKM7Im5mVnpWr/iAYPnLgb/xmBkxbXhUF6gwazA9t2n6Z1KZys0tmJKCdcvlPPXFGPp7kTbfcxKNZAt0hfN1r5qCJYc8xkSghEhLQwB6dEbUKjYCROEQZJsiESP1zZMr8GbLRaXeS1d5V6l134vAcsd57cLqdkP1vqrXreQ3FOkPfVLtd7jVUG4o0pAwZgZT59qYQlEgMrJ/2lvA5F6Di+U3xH1ctO1+1rV31nfOzPlOxO7fFN6V6r6lUCKkI4hhIisoqNUlSImKNJOQpo4qFGCfh/02p/umPpUGVJ72YNKZJJIOIKPBjwjkEBDjjNnMyVvaVLjhPX5Sq8RV9zruofxUf5fblN00fI098+9MJwYDZosNPbakhJSe+igIZansHJ/FZMZ7P+WmRslM4V1Wew7pGvaV987Ae5ozj+xLsK3Xdi6szmVfqy1dqqstPlx8Wx7xSVVHYfPSuj533KGtrF5tPaO6GWmcOvs0zWyNNwSYrxvE7Je62nmb9OWeLEVeKo3ZlYXe6Lf2l6CObF8wdyu2F18AyspE8/w0KrBSO6Q8AAA==
Choose MP3 File Random For Streamer.bot
Streamer.bot C#:using System;
using System.IO;
using System.Collections.Generic;
using System.Text.Json;public class CPHInline
{
public bool Execute()
{
string folderPath = @”C:\Program Files\OBS-Studio\Files\Sources\Alerts\Alerts_Sounds”;
string sourceName = “Alerts Sound”;
bool playEachFileOnce = true;
bool noDirectRepeat = true;
string playedFilePath = @”C:\Program Files\OBS-Studio\Files\Sources\Alerts\Alerts_Played.txt”;if (!Directory.Exists(folderPath))
{
CPH.LogError($”[Random Sound Alert] Folder not found: {folderPath}”);
return false;
}List<string> files = new List<string>(Directory.GetFiles(folderPath, “*.mp3”));
files.AddRange(Directory.GetFiles(folderPath, “*.flac”));
if (files.Count == 0)
{
CPH.LogError($”[Random Sound Alert] No .mp3 or .flac files found in {folderPath}”);
return false;
}List<string> playedFiles = new List<string>();
if (File.Exists(playedFilePath))
{
playedFiles.AddRange(File.ReadAllLines(playedFilePath));
}if (playEachFileOnce && files.Count > playedFiles.Count)
{
foreach (string played in playedFiles)
{
files.Remove(played);
}
}
else if (files.Count <= playedFiles.Count)
{
playedFiles.Clear();
File.WriteAllText(playedFilePath, “”);
}string previous = playedFiles.Count > 0 ? playedFiles[playedFiles.Count – 1] : “”;
if (noDirectRepeat && files.Count > 1 && !string.IsNullOrEmpty(previous))
files.Remove(previous);var rand = new Random();
string chosenFile = files[rand.Next(files.Count)];playedFiles.Add(chosenFile);
File.WriteAllLines(playedFilePath, playedFiles);var request = new
{
inputName = sourceName,
inputSettings = new
{
local_file = chosenFile
},
overlay = true
};
string jsonPayload = JsonSerializer.Serialize(request);CPH.ObsSendRaw(“SetInputSettings”, jsonPayload);
CPH.SetArgument(“randomVideo”, chosenFile);
return true;
}
}
Execute C# Code For Streamer.bot
Change rawInput To ARGB Color Code.txt For Streamer.bot
This script will take the rawInput value color that is a word from the user and turn it into a ARGB Color Code.
This script also sets Arguments goveeColor.color.a goveeColor.color.r goveeColor.color.g goveeColor.color.b
Change rawInput To HexColor Code.txt For Streamer.bot
This script will take the rawInput value color that is a word from the user and turn it into a HexColor Code.
This script also sets Arguments goveeColor.html goveeColor.htmlalpha
Home Assistant Lights Control.txt For Streamer.bot
This script can connect streamer.bot and turn on or off any lights that are connected to Home Assistant.
Home Assistant TV Control.txt For Streamer.bot
This script can connect streamer.bot and turn on or off any TV devices that are connected to Home Assistant.
BadWords_Checker.txt For Streamer.bot
This script will use the BadWords.txt to check for any bad words in the chat and if so sets an arg to true or false.
It also adds the targetUser to blockedUsers.txt.
Streamer.bot Export:
U0JBRR+LCAAAAAAABAC9WVlz4kgSft+I/Q+EX3fk1Y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yIJcazc/4CrzXWNnEQoHh/rDI8CBcc/sqDnqLsvahEKVh7Nsn+NLyNESf3c+VZalX7pW+dklHi5xtHK7XeP4yvbb8U3s9DnkrvFePVvVc6eOUTVm7cqzWvfY2Qr5IlTnFeQUlvApl5bGBnfArttn2M3z71Z9qPbsS5B3BcuncZlHHs/eb6Bulu9ol7E85v3Z2AL2q/vWC+A9rEAQAxa7Y6zYvIj/z1V3skoojsOVH9Abnd6+vwmcYpQ5ya1esNRInTUd0jQPsnFsOYnPGrSPdGta1w1T1TY2kbgQFejiH1oLiZMXvMi11IcF1+KpDI09FVoL9Wrqhvqux+zk7/l3WkqV/VzKjq207lG8bLzQNHVc2jDipAE9+KbswdsRabQJaUxSmjTGcWNMt1nDAOAa5qJhZmljzPrRRjtI48aIwnM7cZmewWBofE1K+ZXFH7ez0HHRLXOn1sj+8lGfut5D27+4Q7jaee0E+cca7B5nXKF207jq8qWp8pggnmsS0eFkEf5z5AfM8QuZJ5LyoDTrVyifjZMgXrX+xygBvAzdPKQR4MyiNCpb8L8f3TTOE0z3oAjXkP6Q1osFkSlgwuEmTzjZaS44lUpNTnCwsFAcRaJy82fgUq4ER7Q6iYMa1QVSQ0tih2AH+vKkYUaLOAmd8uLirwDuw/uVDrPmkzdGC6ySBZIl7kFVREh9R+ZUUaacQmRVboq8jJrSn8LocHfzM0hUV2XvlbOfoFDlo0gI5gWEOQHLkDay8sC1BNzi+AdBkuhCQU28+CkfP50bn3NM+LOOtQivqlRucRSpQHCCmpzqNEWuKRBBRrxKaMv5Kcf+76X5cwCJn8kBHAeBs0opOaXB8W5yP+egX11O/+DG+0/fW6Mgxssf3Da3R+3Xu/esgpeEEPCoTD8MbihKYV2ajWiy3l8IXwv1wGdcrAkzPzzon13+n75pEKraekfLLykoYRfm5WlzL963Ks+uv0oopTKHaObcN8GTP/4HJBOwlgMZAAA=
Link_Checker.txt For Streamer.bot
This script will check every message in chat for any links and set arg to true or false if the comment contains a link.
This works with https://www.google.ca, https://google.ca, google.ca.
This will also add targetUser to the text file blockedUsers.txt.
Streamer.bot Export:
U0JBRR+LCAAAAAAABADNWdly4sgSfb8R9x8Iv96RRytI8wa0EcJY3WZH436oTUJG22gBxET/+80SYFuAuz09MRHTEbQsZarqVJ6TWWTx53//02jchCxHN781/uQ3cBuhkMHtzUPZuNslcZrf/HK0oCJfxWllS1OHUfHFsmFp5scRN0m34u2rgbKMpH6SH41vh4pHRdQmR0tUBMHJFvqRHxbh7GVMbuS2b5XHDUU1vKgaI4Mnvx+eNE6myuxTPrGiEGyohiHICLUE1VCIoIvYFXRJRqokItqS2Qlc9dofBSuqMLRkg0hSSxdUxLCgioQKiBlN+A+rokabpNUUa2+yCOGA8VnztGA1y44EBWW9NA77fpbHaQlOLgqy97y+sIj6kXfN68TS0I/Wje6KkTVLG79Ptn5OVl9reLw0LpKKtJiyFMG0NTMKtqjMgIsrgFMU0Th8IekCBIkjUqQpi/Jr1jz1PQ9IfMvMGTtvGCKq7raYZggtpANDhEoCJkgU3KauUoL0psGUt8APU5QJj4KkKOeWd1l4jXF2ks3Xt9Zvrzdfa3G6lNm1xWxQ6vOZ7SM/EKIc+VHGebqAv0FB8WMvniuTw0KvreUQPlfTdVUmCoRPVQRVAW0jJmJB0lytqciYUu0yfFvmeyvOHaTse6GVL0L7Iqgxyxvt1CtCEEDW6MVpY1wl+8U83yfDjyjbcRA1Gn75XpSzuEgJOwZFugzrgYO3FecsXARSF4tyS9DgCvWA6QISVVFotlzdUBRNbEn4Z8KlXRheomWmCGeNacZSnruN+SpujBhlLGS0UUUya0xQ6rGcu/zzITwVkIuZ3inZL/aUuQxSnrCLXKjM3d+enuaAJ95mT08PPknjLHbzW/tu8vTUS2HSbZyum+rT00aFnUIRFcl4egozEqeBj29pEJxP+LNjjsssZ+E/MGI3Tlk1bH3Ur+eBwmXOulBzeRTpwk5wSLypEuypOcs/b8X782fDYBSw/mMxDWcRne9WZD1TSX8QEAX8ZG1/9Z118OX6812Co7vWp8fY7kYdaRnukmXZec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check if the message or alerts are from the broadcaster.
If true it will not perform any other actions.
Streamer.bot Export:
U0JBRR+LCAAAAAAABADtV1uL4zYUfi/0P5jAvo2CZMu23Lfp0m7nYcuyO+1Dl6EcSccZs76ksj0XhvnvlXxJ4jhhM+lAW1gHAtInHZ1zvk+X8/T9d563KLCBxQ/ek2vYZgkF2ubi/aP308O6Ms3iYkCgbW4r02HG/IGabpA7NHVWlQ5iS7rcAhprZbJ1M4C7pqqPbXmpBqRs83zEiqzMirb4fWPTgQ577kYsNEz8hc5GbXs+9z3eCHVwpt3CNA14goEgLBSK8JAhEZRTQgWnWnIhlFCjc920v1psuzTEfqIYiwXhgJJwqjQBTCL7JzkNdaTiiE5mYgkyR7dqY1qcIA8qbzX+bKril6xuKvNoB6WQ18dGfcBSZ+Xq0KiRpR9NBVpB3aD58+0tqi9ovM/X91mjbm8mbq1M1a477iqNBuzqExjye3isLSUH/DZQ6qrYcDXzRVWlao3BsjmENiZbrSyXuwTtkdRrCEzmMucGPj1f7KE9jQJ4pCMaEy1CTXgQhUSKMCIJ9RWTgQIMYLE/tXlcu1TF1N9HjlK1JaIetXWziz5vGzeTLM61eCjUPpiUs4hjKommKrGa9BlJVKpsRMADjEAnnM+CucdsdevybHfZkUB9tg9suH9nQHq9Orwd5XhXZVqZAjqCX5akrNT44NyZpOfiFKJ/HSTcgFlh81uNZrZ2tXZS7WU3C/cO8n6LvpFjKM7Im5mVnpWr/iAYPnLgb/xmBkxbXhUF6gwazA9t2n6Z1KZys0tmJKCdcvlPPXFGPp7kTbfcxKNZAt0hfN1r5qCJYc8xkSghEhLQwB6dEbUKjYCROEQZJsiESP1zZMr8GbLRaXeS1d5V6l134vAcsd57cLqdkP1vqrXreQ3FOkPfVLtd7jVUG4o0pAwZgZT59qYQlEgMrJ/2lvA5F6Di+U3xH1ctO1+1rV31nfOzPlOxO7fFN6V6r6lUCKkI4hhIisoqNUlSImKNJOQpo4qFGCfh/02p/umPpUGVJ72YNKZJJIOIKPBjwjkEBDjjNnMyVvaVLjhPX5Sq8RV9zruofxUf5fblN00fI098+9MJwYDZosNPbakhJSe+igIZansHJ/FZMZ7P+WmRslM4V1Wew7pGvaV987Ae5ozj+xLsK3Xdi6szmVfqy1dqqstPlx8Wx7xSVVHYfPSuj533KGtrF5tPaO6GWmcOvs0zWyNNwSYrxvE7Je62nmb9OWeLEVeKo3ZlYXe6Lf2l6CObF8wdyu2F18AyspE8/w0KrBSO6Q8AAA==
Choose MP3 File Random For Streamer.bot
Streamer.bot C#:
Uploaded files:using System;
using System.IO;
using System.Collections.Generic;
using System.Text.Json;public class CPHInline
{
public bool Execute()
{
string folderPath = @”C:\Program Files\OBS-Studio\Files\Sources\Alerts\Alerts_Sounds”;
string sourceName = “Alerts Sound”;
bool playEachFileOnce = true;
bool noDirectRepeat = true;
string playedFilePath = @”C:\Program Files\OBS-Studio\Files\Sources\Alerts\Alerts_Played.txt”;if (!Directory.Exists(folderPath))
{
CPH.LogError($”[Random Sound Alert] Folder not found: {folderPath}”);
return false;
}List<string> files = new List<string>(Directory.GetFiles(folderPath, “*.mp3”));
files.AddRange(Directory.GetFiles(folderPath, “*.flac”));
if (files.Count == 0)
{
CPH.LogError($”[Random Sound Alert] No .mp3 or .flac files found in {folderPath}”);
return false;
}List<string> playedFiles = new List<string>();
if (File.Exists(playedFilePath))
{
playedFiles.AddRange(File.ReadAllLines(playedFilePath));
}if (playEachFileOnce && files.Count > playedFiles.Count)
{
foreach (string played in playedFiles)
{
files.Remove(played);
}
}
else if (files.Count <= playedFiles.Count)
{
playedFiles.Clear();
File.WriteAllText(playedFilePath, “”);
}string previous = playedFiles.Count > 0 ? playedFiles[playedFiles.Count – 1] : “”;
if (noDirectRepeat && files.Count > 1 && !string.IsNullOrEmpty(previous))
files.Remove(previous);var rand = new Random();
string chosenFile = files[rand.Next(files.Count)];playedFiles.Add(chosenFile);
File.WriteAllLines(playedFilePath, playedFiles);var request = new
{
inputName = sourceName,
inputSettings = new
{
local_file = chosenFile
},
overlay = true
};
string jsonPayload = JsonSerializer.Serialize(request);CPH.ObsSendRaw(“SetInputSettings”, jsonPayload);
CPH.SetArgument(“randomVideo”, chosenFile);
return true;
}
}
