Hello Guest

Help on high and low with this script

  • 3 Replies
  • 2337 Views
*

kwajay

  • *
  • 4
  • +0/-0
    • View Profile
Help on high and low with this script
« on: July 10, 2018, 04:50:29 am »
Hello gurus in the house. Please can someone help me by making this script run a random mixture of high and low. thanks


chance = 90
bethigh = true
basebet = 0.000001
nextbet = basebet

function dobet()
   if (win) then
      chance = 90
         nextbet = basebet
   else
      if chance == 25.00  then
         nextbet = previousbet * 1.33738
      else
         chance = 25.00
            nextbet = basebet/3.3
      end
   end
end

*

Seuntjie

  • *****
  • 593
  • +17/-3
    • View Profile
Re: Help on high and low with this script
« Reply #1 on: July 10, 2018, 10:57:23 am »
Please see the third youtube programmer mode tutorial on https://forum.seuntjie.com/index.php?topic=2.0 (DiceBot Programmer mode tutorial 3)

*

MrOnsTr

  • **
  • 24
  • +1/-0
    • View Profile
Re: Help on high and low with this script
« Reply #2 on: August 02, 2018, 07:56:22 am »
 ;) :D
chance = 90
basebet = 0.000001
nextbet = basebet

function dobet()
   if (win) then
      chance = 90
         nextbet = basebet
   else
      if chance == 25.00  then
         nextbet = previousbet * 1.33738
      else
         chance = 25.00
            nextbet = basebet/3.3
      end
   end
  bethigh = !bethigh
 end
end

*

Krypton

  • **
  • 20
  • +0/-0
    • View Profile
Re: Help on high and low with this script
« Reply #3 on: August 03, 2018, 11:49:26 am »
chance = 90
bethigh = true
basebet = 0.000001
nextbet = basebet

function dobet()
   ----------------------------------------------------------
   -- sets random hi or low for every bet
   bethigh= math.random(0,100)%2==0
   ----------------------------------------------------------
   if (win) then
      chance = 90
         nextbet = basebet
   else
      if chance == 25.00  then
         nextbet = previousbet * 1.33738
      else
         chance = 25.00
            nextbet = basebet/3.3
      end
   end
end