Classic Chat Gamble

Classic Chat Gamble!

:game_die:Test your luck with the most classic gamble game!:four_leaf_clover:

Features:

  • Dynamic Betting :game_die: Bet specific amounts, half your points, or go all-in!
  • Multiple Platforms :joystick: Works on Twitch, YouTube, and Trovo simultaniously.
  • Customizable :bullseye: Many customization options e.g. defaultBet, winPercent.
  • Win Big! :money_bag: Randomizers make wins even more rewarding!
  • Jackpot Chance :tada: A small chance to hit the jackpot for a much larger payout! (Configurable percentage and multiplier).

Import File

CCG.sb (21.6 KB)

CCG may not work properly with alpha version of SB!


Installation

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

  1. Import the script file into Streamer.bot (SB).

  1. Enable the command.
  2. (Optional) Edit the sub-actions.
  3. Start playing and let the fun begin! :tada:

Commands

  • !gamble <amount>: Play with a specified amount of points.
  • !gamble all: Go all-in and bet all your points.
  • !gamble half: Bet half your total points for a safer gamble.
  • !gamble quarter: Bet a quarter of all of your points.
  • !gamble third: Bet a third of all of your points, for less risky people :wink:
  • !gamble random: F-it, just take the points and throw them in :smiley:

How to Play:

  1. Make sure the gamble command is enabled in your Streamer.bot actions.
  2. In chat, type !gamble followed by your bet amount (e.g., !gamble 100, !gamble all, !gamble half). If you just type !gamble, it will use the default bet amount.
  3. See if you’re lucky and win! :sparkles:

Good luck and have fun! :grinning_face_with_smiling_eyes:


Disclaimer: Classic Chat Gamble is in constant collaboratively development with community contributions and assisted by AI (ChatGPT & Gemini).


Changelog:

QoL Update v6.6

  • Added numberSeparator to make large numbers more readable with customizable separators. If disabled, normal long numbers are used. (CP Points ignored)
  • Updated some comments.
Older Changelogs

v6.5

  • Removed the duplicated Classic Chat Gamble action since the CP version does work with out Channel Points aswell, so no need to keep both.
  • Regrouped some sub-actions.
  • Added 2 new args minBet & maxBet which define the minimum and maximum possible bet amount, while being completely optional and “disabled” if their value is set to 0.
  • Updated some instructions.

v6.4

  • Added quarter, third and random as new optional bet amount.

v6.3

  • Added %blockedGroups% which blocks groups handled in SB (Settings > Groups). Allows to block external bots and certain users you don’t want them to be able to play.
  • Highly experimental! - Added a CP version (disabled by default) that should be able to work with twitch channel points, since i can’t test it myself, expect errors.

Hotfix v6.2

  • To either allow or block bots from running the game, just check/uncheck “Ignore Bot Account” in the command options in the command tab

v6.1

  • Command now can contain a collection of alias commands.
  • Removed bot detection, since some of you like to use their bot account on internal chat.
  • Added a “free play” mechanic. If defaultBet = 0 then users play for free only.

v6

  • Updated the main script to be more robust and removed some unnecessary lines.
  • Added more options for chat appearance.
  • Randomizer for the game outcome is now better tied to winPercent and jackpotPercent which allows to have “win/lose streaks” if adjusted correctly.
  • The cooldown action that comes with the game also got some code improvement.

v5

  • Cleaned some messy code.
  • Added allowBots as an true/false argument in General - Settings if you want to use your bot account for the game.
  • Added knownBots in General - Settings, now you can add or remove external bots if there is an issue.
  • Added a new optional cooldown action with some handy features.

v4

  • Updated the script to now run with an actual command on all platforms that give users more options
  • Updated some parameters
  • Made CCG Logs easier findable

v3

  • CCG now supports true multi-platform support, no need to define a preferred platform anymore.
  • Added more platform specific emotes for trovo messages and youtube

v2

  • CCG now supports Twitch, Youtube and Trovo
  • For now, you can’t run the script for more then one platform simultaneously without crossfire messages.
  • An argument is added to rename points if needed
  • Messages trimmed a little