Last active
April 2, 2020 07:51
-
-
Save mydicebot/68b86902c719c407514b0801328b6c27 to your computer and use it in GitHub Desktop.
Basic Sample #MyDiceBot#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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