Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
chilly2k
on 30/09/2017, 21:08:17 UTC
PS. when should I use "elseif" instead of "if"
     What is "bettinghigh", "bettinglow" true/false ? What do they do?

https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-1-1-variables

It doesn't say anything about "elseif"

and "bettinghigh"?

What's the difference between "bethigh" and "bettinghigh"?



   There is nothing called elseif.  it's an
if
else (this is optional)
end
 
 statement.  But you can nest them so you could have

if
else
   if  <- this is only checked if the upper "if" failed. 
   end
end
 
 You can also have
if
  if
  end
else
  if
  end
end


bettinghigh is something you made up, so you will have to tell us what it means. 

bethigh (true/false) is how you tell the program how you want the next bet placed.  bethigh = true (bet high) = false (bet low)