Hello all, I've been having troubles with IF... NOT ... ELSE statement. For Example: ********************************** While (1) $pos = MouseGetPos() If $pos[0] NOT 840 Then ; <---------- problem MouseCLick("Left", 840, 540, 1, 1) Sleep(100) EndIf WEnd ******************************** How to write a proper IF ... NOT statement? I've tried: If $pos[0] NOT = 840 Then .... ; <-------- Did not work Aslo tried If NOT $pos[0] = 840 Then .... ; <-------- Did not work Any comment is appreciated Thank 4 your helps.