Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
chilly2k
on 09/09/2016, 02:21:57 UTC
hi guys Smiley what code to use if you want to get the last bet high or lo roll? i need it so i can make a conditional statement that base on rolls whether its lo or hi ..

thank you

bethigh is the variable.  It's true/false.  So if (bethigh == true) then    The last bet was high.  == false would be low. 

bethigh = !bethigh  will flip it from one to the other   either low -> high or high -> low.