Bitcoin Forum

Economy => Gambling discussion => Topic started by: psy112 on April 27, 2017, 01:18:04 PM



Title: Need help with some dicebot code
Post by: psy112 on April 27, 2017, 01:18:04 PM
Hi,

I use bots a lot for my gambling, but since I have zero experience in coding I need some help adding a feature to one of my scripts.

This is the code I want modified:

Code:
chance = 90
bethigh = true
basebet = 0.00000200
nextbet = basebet

-- SET PROFIT TARGET
profittarget= 1.0000000

function dobet()
if (win) then
chance = 90.00
    nextbet = basebet
else
if chance == 19.80 then
nextbet = previousbet * 1.255
else
chance = 19.80
    nextbet = 0.00000060
            bethigh = !bethigh
end
end

if (balance) >= profittarget then

  ching()
  alarm() 
  print("Your Balance is ") print(balance)
  print(" ")
  print("TARGET ACHIEVED!!!")
  print(" ")
  print("You Won ") print(profit) print(" for this Session")
  print(" ")
  stop()
  print(" ")
end

end

I want to add the feature invest on it, so that when I hit my profit target it auto invest the profit and the restarts. I'm using the script together with seuntjies bot on Just-dice. Where should i add the invest part and restart?


Title: Re: Need help with some dicebot code
Post by: psy112 on April 28, 2017, 11:16:49 AM
No one?


Title: Re: Need help with some dicebot code
Post by: LuanX3 on April 28, 2017, 11:35:28 AM
Not an expert on bots, but I think the best place for you to get support on this is to directly post your question on seuntjie's bot thread. He does reply there a lot and most likely he is watching that thread better than any other threads posted here in the gambling section.


Title: Re: Need help with some dicebot code
Post by: psy112 on April 29, 2017, 09:56:50 AM
Not an expert on bots, but I think the best place for you to get support on this is to directly post your question on seuntjie's bot thread. He does reply there a lot and most likely he is watching that thread better than any other threads posted here in the gambling section.

Ok thanks for the heads up, I'll try that thread instead ;)