%i == 5 && %i == 6 is always false
whats the point in having iif return the same value no matter whats the condition evaluated to (0/1)?