Sorry, off-topic question, but.. why is the second more efficient?

Are you saying that if the ($nick isop $chan) bit were false, mirc wouldn't bother checking whether (!allow * iswm $1-)
is true? (and since we only want it checking the second bit only while we are opped, it's more efficient?)

I always thought that whatever you put after the IF would get evaluated and checked regardless, hence order would make no difference.

Quote:

(1) if (!allow * iswm $1-) && ($nick isop $chan)
(2) if ($nick isop $chan) && (!allow * iswm $1-)

The 2nd of these IFs is far more efficent code, but most people (im not excluded here) becuase of how were taught to think from begining to end. well mostly go with the first option.