It's best if you surround tests with (), as that makes it easier to parse for mIRC and for humans too. It gets more important with more tests and especially when mixing || and &&.

if ((condition1 == somevalue) && (condition2 == somevalue)) {
...
}