Post
Topic
Board Gambling
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
kolloh
on 04/01/2017, 15:14:58 UTC
Hi,

In Programmer Mode

please provide examples of looping code:
eg for next

how the conversion code like this :
test = 1
print ("test =",test)

how to create a new function

Thank


I recommend you check out the tutorials at https://bot.seuntjie.com/ProgrammerMode.aspx

This describes how to create functions and provides many examples. Check it out and if you still have a question on how to do something specifically, let us know.

I have been to these links ( https://bot.seuntjie.com/ProgrammerMode.aspx ), but could not find the above

Can you please describe in more detail what you are attempting to code?

Programmer Mode uses the function dobet() by default and this function is executed each time the next bet is required. Its where the looping occurs.

For example, simple martingale script looks like this:
Code:
function dobet()
    if win then
        nextbet=0.00000001
    else
        nextbet=previousbet*2
    end
end

Provide a more detailed explanation of what you are trying to accomplish if you need more help.