Anyway… What I’m looking for is basically an “If, Then, Else”:
User A types !sk on my Twitch Channel. The Bot recognizes a command was entered and says [User] has initiated a Stream King Challenge. The cost of initiating the challenge will always be 35 Points, but it needs to rise by 15 Points (for everyone) each time a User fails to defeat the Stream King. When a User types !sk it will determine one of four responses:
- [User A] was miniaturized, then squished. [User B] remains the Stream King.
- [User A] has become the new Steam King! Unfortunately, Steam isn’t supported on this stream… [User B] remains the Stream King.
- [User A] got transformed into a frog. [User B] remains the Stream King.
- [User A] has defeated [User B], becoming the new Stream King!
If it’s #4, it puts [User A]'s name into a .txt file, replacing the previous name that was in there. This .txt file is what OBS will read tp show the stream who the current Stream King is. The second .txt file is the Slain Counter. So if we assume [User A] is the Stream King and [User B] types !sk, but receives response #1 - 3, the Slain Counter for [User A] will rise by +1 and the cost for everyone will rise by +15 Points. The third .txt file is the Leaderboard, showing the names of the top three Stream Kings, including their # of Kills.
As I mentioned above, I’ve been trying to find someone to help incorporate this, but I’m not having much luck.