Bitcoin Forum
November 08, 2024, 08:38:34 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help with some dicebot code  (Read 245 times)
psy112 (OP)
Sr. Member
****
Offline Offline

Activity: 346
Merit: 250


psygambler


View Profile WWW
April 27, 2017, 01:18:04 PM
 #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?

psy112 (OP)
Sr. Member
****
Offline Offline

Activity: 346
Merit: 250


psygambler


View Profile WWW
April 28, 2017, 11:16:49 AM
 #2

No one?

LuanX3
Hero Member
*****
Offline Offline

Activity: 756
Merit: 505



View Profile
April 28, 2017, 11: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.
psy112 (OP)
Sr. Member
****
Offline Offline

Activity: 346
Merit: 250


psygambler


View Profile WWW
April 29, 2017, 09: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

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!