Skip to content

Instantly share code, notes, and snippets.

@mydicebot

mydicebot/basic.js

Last active Apr 2, 2020
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
You can’t perform that action at this time.