CRAZYYYYBET Posted August 10, 2020 Share Posted August 10, 2020 Best script how to use. 1.put your base bet 2.put the payout you want. 3. put the limit on your lose steak 'avoid losing too much $coin'. 4.put your on LOSE multiplier and the payout you want to add on your current payout. 5.(optional)put your on WIN multiplier and the payout you want to add on your current payout. *suggestion: click on return to base bet for safe play* Hope It helps var config = { baseBet: { label: 'base bet', value: currency.minAmount * 1.2, type: 'number' }, basePayout: { label: 'base payout', value: 2, type: 'number' }, stop: { label: 'stop if bet >', value: 1e8, type: 'number' }, onLoseTitle: { label: 'On Lose', type: 'title' }, onLoss: { label: '', value: 'increase', type: 'radio', options: [ { value: 'reset', label: 'Return to base bet' }, { value: 'increase', label: 'Increase bet by (loss multiplier)' }, { value: 'increase', label: 'Increase payout by (loss payout)' } ] }, lossMultiplier: { label: 'loss multiplier', value: 2, type: 'number' }, lossAdd: { label: 'loss payout +/-', value: 1, type: 'number' }, onWinTitle: { label: 'On Win', type: 'title' }, onWin: { label: '', value: 'reset', type: 'radio', options: [ { value: 'reset', label: 'Return to base bet' }, { value: 'increase', label: 'Increase bet and payout' }, { value: 'increase', label: 'Increase payout by (win payout)' } ] }, winMultiplier: { label: 'win multiplier', value: 2, type: 'number' }, winAdd: { label: 'win payout +/-', value: 1, type: 'number' }, } function main () { var currentBet = config.baseBet.value; var currentPayout = config.basePayout.value; engine.on('GAME_STARTING', function () { engine.bet(currentBet, currentPayout); }) engine.on('GAME_ENDED', function () { var history = engine.getHistory() var lastGame = history[0] // If we wagered, it means we played if (!lastGame.wager) { return; } // we won.. if (lastGame.cashedAt) { if (config.onWin.value === 'reset') { currentBet = config.baseBet.value; currentPayout = config.basePayout.value; } else { currentBet *= config.winMultiplier.value; currentPayout += config.winAdd.value; } log.success('We won, so next bet will be ' + currentBet + ' ' + currency.currencyName + ' at payout ' + currentPayout + ' x'); }else{ if (config.onLoss.value === 'reset') { currentBet = config.baseBet.value; currentPayout = config.basePayout.value; } else { currentBet *= config.lossMultiplier.value; currentPayout += config.lossAdd.value; } log.error('We lost, so next bet will be ' + currentBet + ' ' + currency.currencyName + ' at payout ' + currentPayout + ' x'); } if (currentBet > config.stop.value) { log.error('Was about to bet' + currentBet + 'which triggers the stop'); engine.stop(); } }) } Link to comment Share on other sites More sharing options...
CRAZYYYYBET Posted August 10, 2020 Author Share Posted August 10, 2020 up Link to comment Share on other sites More sharing options...
rakshasa Posted October 26, 2020 Share Posted October 26, 2020 do you know the function to call, the previous game crash....... like, lastgame.result, or result.multiplier, inside a martingale Link to comment Share on other sites More sharing options...
x82isaac Posted April 1, 2021 Share Posted April 1, 2021 I'm also trying to get an answer to this. Before, you would use engine.getHistory() which would return an array. In the latest version of the site they tell you store yourself, but don't tell you how to access the last game without it. I think they hate people who write their own scripts. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.