Denovo

Logic

Comparisons and true/false values, mostly for the slot of an if block.

not [true/false]

not true ▾

Turns true into false and false into true.

SlotTakesWhat it is for
1true/falseThe true or false value to flip.

Gives back: true/false

Script: not a

[any value] like [any value]

0 like 0

True when both sides hold the same value. Numbers are compared by value, and text that holds a number counts as that number, so 5, 5.0 and "5" are all alike. Values of different kinds are never alike: a game mode is never like the text "CREATIVE".

SlotTakesWhat it is for
1any valueThe first value.
2any valueThe value to compare it with.

Gives back: true/false

Script: a == b

[any value] not like [any value]

0 not like 0

True when the two sides are not alike. The opposite of like.

SlotTakesWhat it is for
1any valueThe first value.
2any valueThe value to compare it with.

Gives back: true/false

Script: a != b

[number] smaller than [number]

0 smaller than 0

True when the first number is smaller than the second. Both sides must be numbers, or text holding a number, or the script stops with an error.

SlotTakesWhat it is for
1numberThe first number.
2numberThe number to compare it with.

Gives back: true/false

Script: a < b

[number] larger than [number]

0 larger than 0

True when the first number is larger than the second. Both sides must be numbers, or text holding a number, or the script stops with an error.

SlotTakesWhat it is for
1numberThe first number.
2numberThe number to compare it with.

Gives back: true/false

Script: a > b

[number] smaller than or equal to [number]

0 smaller than or equal to 0

True when the first number is smaller than or equal to the second. Both sides must be numbers, or text holding a number, or the script stops with an error.

SlotTakesWhat it is for
1numberThe first number.
2numberThe number to compare it with.

Gives back: true/false

Script: a <= b

[number] larger than or equal to [number]

0 larger than or equal to 0

True when the first number is larger than or equal to the second. Both sides must be numbers, or text holding a number, or the script stops with an error.

SlotTakesWhat it is for
1numberThe first number.
2numberThe number to compare it with.

Gives back: true/false

Script: a >= b

[true/false] and [true/false]

true ▾ and true ▾

True only when both sides are true.

SlotTakesWhat it is for
1true/falseThe first condition.
2true/falseThe second condition.

Gives back: true/false

Script: a and b

[true/false] or [true/false]

true ▾ or true ▾

True when at least one side is true.

SlotTakesWhat it is for
1true/falseThe first condition.
2true/falseThe second condition.

Gives back: true/false

Script: a or b

On this page