CUBSOFTWARE// CUB // CORRUPTED

Coinflip

!coinflip
Completed Gambling

Flip a coin! Pick heads or tails and double your bet. Simple 50/50 odds.

Commands

Command Description
!coinflip [bet] [h/t] Flip a coin betting on heads or tails
!cf [bet] heads Shortcut with heads
!cf [bet] tails Shortcut with tails

Features

  • Simple Gameplay - Pick heads or tails
  • 50/50 Odds - Fair coin flip
  • Double Payout - Win 2x your bet
  • Quick Games - Instant results
  • Cooldown System - Prevents spam

Configuration

Set in ConfigSetup.cs:

Variable Default Description
config_coinflip_min_bet 10 Minimum bet amount
config_coinflip_max_bet 1000 Maximum bet amount
config_coinflip_win_mult 2 Win multiplier
config_coinflip_cooldown_seconds 5 Cooldown between flips

Example Gameplay

Winning Flip

User:!coinflip 100 heads
Bot:🪙 User flipped HEADS! You win! +$200 | Balance: $700

Losing Flip

User:!cf 50 tails
Bot:🪙 User flipped HEADS! You lose! -$50 | Balance: $450

Installation

⚠
Prerequisite: You must run ConfigSetup.cs first before installing this command.

Create a new C# action in StreamerBot

Go to Actions → Add → Create new action

Copy the command code

Copy it below and paste it into the action's Execute C# Code sub-action, or download the file.

Loading the code…

Set the trigger

Add a chat command trigger with !coinflip

Test in chat

Try the command to verify it works!

← Back to All Commands