LoginLogin

Logical XOR

Root / Submissions / [.]

12Me21Created:
SB has logical NOT, AND, and OR (!, &&, ||), but not XOR. However, you can just use:
!(A)!=!(B)

Thanks! This will be very useful, I needed something like this for a toggle option.

You will neeed parentheses if you are using more than just a single number/variable since ! Comes first in th order of operations

I just need
autoEnable% = autoEnable% XOR (getButton% AND #Y)
So it should work just fine :) EDIT: Might do it another way I just realized, haha.

helpful [sorta]