Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
HCP
on 13/03/2017, 23:10:35 UTC
Hi everyone!

I have modified this script a little bit https://bot.seuntjie.com/scripts.aspx?id=39  However, would it be possible to program the script to automatically change the lossStartMult to 7 or 8 any lower number when the streak of 10 reds happens? Any help will be appreciatted!
Seems like the script is already (attempting) to track the lossCount, so that shouldn't, in theory, be a problem...

EDIT:
Huh, apparently the bot DOES support the += syntax Tongue

Anyway, once that is fixed, you should be able to just do something like this, underneath where you are incrementing lossCount:
  
Quote
 if (lossCount == 10) then
    -- set lossStartMult to X
    lossStartMult = 7 -- or 8, or whatever
  end

DISCLAIMER: I haven't actually bothered to work out all the logic of your script, so I'm not saying that this will magically achieve what it is you're attempting to achieve with your script modifications Wink