High-Low Game

High-Low is a fun and simple guessing game. A random number between 1 and 100 is generated, and your challenge is to predict whether the next number will be higher or lower than the current one. :crystal_ball:

Import

Setup the Game

:warning: Prerequisite: Ensure you have a working point system in your setup before using this script.
Suggested: Currency Core - StreamUP

  • Import the script into Streamer.bot.
    • Enable the commands.
    • Run the Test trigger to open the settings GUI

  • Type !highlowsetup in chat to setup the game.

How to play

  1. Make Your Guess:
    • Type !high if you believe the next number will be higher. :arrow_up:
    • Type !equal to take a risk and try to get double points! But watch out! If you lose, it will cost you points! :arrow_up_down:
    • Type !low if you think the next number will be lower. :arrow_down:
  2. Game Outcome:
    • The Game generates a new number each guess.
    • Your guess is compared against the new number.
    • If your guess is correct, you earn points! :tada:
    • If your guess is incorrect, try again.
  3. Scoreboard:
    • Type !alltime to see the Top5 Alltime best players.
    • Type !session to see the Top5 best players of the actual session. (resets every SB restart)
    • Type !personal to see your personal detailed stats for alltime and session

Disclaimer: This script was collaboratively developed with community contributions and assisted by AI (ChatGPT & Gemini). It is provided “as-is” but i will try to help as good as i can.


Changelogs

v4

  • Added missing Test trigger back in the trigger section.
  • Updated some comments.
  • Updated mechanics to start the game.
  • Should now have a better randomization of played numbers.

Let me know if something’s not working right :slight_smile:

Older Changelogs

** v3**

  • Removed the cooldown action since it’s not needed anymore
  • Added a GUI interface to the script so all settings can now be edited there.
  • WIP - Added Channel Points tab and settings, let your users use channel points to guess if it’s “high” “low” or “equal”
  • Added a template for the outcome message to edit in the Game tab.
  • Uncheck Award Points in the Game tab to run the game in free mode.
  • You can decide if your broadcaster and or bot account show up in the scoreboard for all platforms.
  • Scoreboard action remains untouched for now.
  • You can set a global or user cooldown for all commands in the Cooldown tab aswell as messages for both

For clarity, edit settings can only be done via the Test-trigger in the GUI.

QoL Update v2.1

  • Removed some deprecated args.
  • Added numberSeparatorto make large numbers more readable with customizable separators. If disabled, normal long numbers are used.

v2

  • Now features !equal with a twist: Get double points for win, but lose normal wonPoints if you lose! (10% chance to win)
  • Fixed: Rare case script doesn’t respond and throw errors on initial setup.
  • Added a detailed Scoreboard for alltime, session and personal stats
1 Like

I use the streamup points system, and I cannot get this to award the correct points. i changed my points name, and put the correct variable name in the set up… but no points are awarded. very confused. any help would be appreciated.

figured it out. sorry.

there is no test trigger

thanks for pointing out, published the new update for some reason wasn’t published the whole time.