Skip to content

bikutaa-dev/Twitch-Multigoal

Repository files navigation

What is Twitch Multigoal?

A simple script I wrote for a few friends that wanted interactivity with their community by having a goal that could be reached multiple time over a stream. With subscriptions (normal or gifted), hype chats and cheers the chat can collectivly colllect points toward the set goal. Up to you what the reward is for reaching the goal, but when a goal is reached it resets and starts all over again, now also with the option to increase the goal each time it has been reached.

The scripts allow you to set up the points value for subs, hype chats and cheers and also what the goal is. It also supports:

  • Sound when the goal has been reached.
  • Chat message when the goal has ben reached.
  • A way to show the progress on stream with a text file.

Getting Started

  • install Node https://nodejs.org/en/download/

  • Once installed unzip the multigoal folder gotten from the release page.

    • go into the folder and click the file:

      installer.bat

  • When install is done you can close the CMD window, to start the program you can now click the file:

    start.bat

  • From here you will get steps in the CMD window for setting up Multigoal

    • This window this needs to be remain open to have the multigoal script running.

If you want the Multigoal printed to the screen, use a text source and point it towards output.txt and it will be updated automatically. For the setting up part I'm doing very litle input checking so make sure you use the correct input type, as in when it says "numbers only" only use 1-9.

Updating

  • unzip the multigoal folder gotten from the release page.

  • Copy over and replace the files from this new folder to your old folder for the script.

  • As usual go into the folder and click:

    start.bat

    you will now be prompted with new settings option the first time.

Problem Solving

  • If you run into an error where in mention the folder npm not existing, "no such file or folder", just make a folder named npm at the given location.