Originally Posted By: Midori
symphony::
That's the whole problem, it shouldn't return true if the channel IS #help, when that segment of the if statement is false, so in otherwords..

if $true && $false = true..

so 1+0 = 1

From the truth tables of binary logic:

0+0 = 0
0+1 = 0
1+0 = 0
1+1 = 1

This is not happening anymore.

This may be a little irrelevant, but just for the record, the "+" sign is used for logical disjunction (OR), not for logical conjunction (AND). For "AND", you should use either "&", "^" (which should really be an inverted "v") or a middle dot:


0^0 = 0
0^1 = 0
1^0 = 0
1^1 = 1

Last edited by Strider; 08/08/08 07:33 AM.