Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
AMONRA75
on 29/03/2017, 20:41:40 UTC
hi,

i need a code for:

when i win change bethigh to true if previously is false

anyone help me?



Technically this is what you asked for.

if (win) then
   bethigh = true
end

bethigh is changed to, or left true on a win.   I don't know how it would change to anything else since you didn't provide any supporting code.  

did you really mean to flip bethigh?  IE if true make false or if false make true?    In that case it's bethigh = !bethigh.  



tnx but i need to flip ...
if win
if bethigh is true  i need set to false and if false i need to set to true