Skip to content

Instantly share code, notes, and snippets.

@mydicebot
Last active April 2, 2020 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mydicebot/68b86902c719c407514b0801328b6c27 to your computer and use it in GitHub Desktop.
Save mydicebot/68b86902c719c407514b0801328b6c27 to your computer and use it in GitHub Desktop.
Basic Sample #MyDiceBot#
/**
* Sample script, you can code here and then 'Save As..' to another named file.
* Author: MyDiceBot
**/
chance = 49.5;
multiplier = 2;
baseBet = 0.00000001;
betHigh = false;
nextBet = baseBet;
function dobet(){
if (win) {
nextBet = basebet;
} else {
nextBet = previousbet * multiplier;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment