Regarding the order, mirc evaluates conditions from left to right and && and || have equal precedence (an ages old behaviour that I would like changed).