Author

Topic: Need help with some dicebot code (Read 241 times)

sr. member
Activity: 346
Merit: 250
psygambler
April 29, 2017, 05:56:50 AM
#4
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 Wink
hero member
Activity: 756
Merit: 505
April 28, 2017, 07:35:28 AM
#3
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.
sr. member
Activity: 346
Merit: 250
psygambler
April 28, 2017, 07:16:49 AM
#2
No one?
sr. member
Activity: 346
Merit: 250
psygambler
April 27, 2017, 09:18:04 AM
#1
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?
Jump to: