How to give players regen when they have an item (Difficulty: 🟩 3/10)

in programming, people often make infinite loops by doing something like:

while (True){
doSomethingBecauseISaidSo();
}

They don’t need to have a conditional like (0==0), they can just say true and it works, as what the computer does is check if the boolean inside is true. Comparisons like == and >= or < have the value of true or false depending on what is inside, so (7==7) would equal true. Saying If (this==true) is a bit redundant since you could then just remove the == true.

3 Likes

As a user of google sheets (and a checkbox enthusiast), using the conditional statement, that has not had any history of ordering the extreme farts extension pack off of amazon, “if , then”, will actually work if the property, which has not been called out multiple times on twitter for existing, is a boolean value.