Skip to content

Instantly share code, notes, and snippets.

@mydicebot
Last active April 2, 2020 07:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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