Skip to content

Instantly share code, notes, and snippets.

@ruzli
Last active May 26, 2019 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ruzli/e52a36dd10120793cb97e3210d1ee299 to your computer and use it in GitHub Desktop.
Save ruzli/e52a36dd10120793cb97e3210d1ee299 to your computer and use it in GitHub Desktop.
Instant betting(takes up to 10 seconds to finish place amount of bets you set with flat bets) [Balance: Any]
//******* INSTANT BETTING *******//
var config = {
baseBet: { label: "Bet", type: "balance", value: 100 },
target: { label: "Target", type: "multiplier", value: 100 },
betCount: { label: "Bet count", type: "number", value: 100 },
resetStatistics: { label: "Reset statistics on launch?", type: "checkbox", value: true }
}
if (config.resetStatistics.value) this.resetStatistics()
for (let i = 0; i < config.betCount.value; i++) {
this.bet( config.baseBet.value, config.target.value).catch(this.stop)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment