I need the following distinct logic, but mIRC isn't letting me !negate the whole of
((%b == 1) && (%c == 1))if (%a = 1) && (!((%b == 1) && (%c == 1))) echo -s Success!
What am I doing wrong?
I can only get this exact logic to work by turning
((%b == 1) && (%c == 1)) into a single $identifier via aliasing, like so:
alias pair {
if (%b == 1) && (%c == 1) return $true
else return $false
}
if (%a == 1) && (!$pair) echo Success!
Then I get the logic I want. But I don't want to rely on an alias to achieve it.