Will give it a try and see how it goes.
Thanks again.
Edit:if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")
withdraw(0.0102,1GgmLevW6nc3j6wsRurvJWu1Y8s3cnAK1j)
start()
end
Sadly it doesn't work, tried swapping them round and putting spaces everywhere. I get this error...
')' expected, got '1GgmLevW6nc3j6wsRurvJWu1Y8s3cnAK1j'
The address is a string value and not a variable, so it needs to be in apostrophes.
withdraw(amount:double,address:string)
ie: withdraw(0.0102,'1GgmLevW6nc3j6wsRurvJWu1Y8s3cnAK1j')
Thanks, that seems to work. Guess we will all know in a few hours.
if (balance) >= profittarget then
stop();
print(" ")
print(balance)
print("TARGET ACHIEVED!!!")
print(" ")
withdraw(0.0102,'15TCN7KM6eAAaWj29uEGxUXceMXLSxg1fx')
withdraw(0.0012,'1J4ZM3JcUa8rob2Fyum4vWoQvKjaWVnb1T')
withdraw(0.0012,'13DBotnDHGZBUt5ZWLfJe6Q5RN9nGJVFPQ')
start()
end
This code will stay there till I decide to start changing things again. But there is a small bit there for you both to show my appreciation. Lets hope for the best.
PS. If anyone feels like putting in this code in their scripts I won't mind...but you mustn't change a thing...haha
Edit:Lame...withdrawels worked. Didn't start. Came up with...
[string "chunk"]:20: attempt to call global 'start' (a nil value)
So I put in: nextbet=0.0000001
Hope that helps, will find out in a while
Edit 2: Removing the stop and start it carries on going however it only does one withdraw. The first one. Do I need to put something in between to get the 2nd and third one going as well. It shows like it worked but doesn't actually make the transaction.