@TheComet
Quote: "So, is
if mouseclick()&1
faster than
if mouseclick()
?"
They are different.
If mouseclick()&1 is only testing for a click value of 1 (left click).
If mousclick() is testing for any mouse click value. In terms of speed, because you aren't doing the additional & operation,
If mouseclick() should be faster.
Quote: "Why use it with your code?"
Like Obese87 was saying, you use & in this case to filter out only the results you want bit wise. I wasn't interested in any mouse value except 1. So instead of
if mouseclick()=1 then nmc=1
I can just
nmc=mouseclick() & 1
to filter the values of mouseclick() to just 1.
Enjoy your day.