Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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