reddead1345 Posted March 2, 2020 Share Posted March 2, 2020 (edited) so I've been trying to work on a simple script that searches for color and clicks at one location if it found a color and if it didn't find the color click at another location but im having trouble with the command I've already checked the help file the help webpage and everything I'm just confused. here is what I have for the mouseclick command. when I run it it says there is an inaccessible variable on line 2 if PixelGetColor(1174,746) = 0xA58A45 Then MouseClick ( "left" [, , [, clicks = 1 [, speed = 0]]] ) Else MsgBox(0,"","no click") EndIf Edited March 2, 2020 by JLogan3o13 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 2, 2020 Moderators Share Posted March 2, 2020 Since this is EXACTLY the same as your bot thread, it will be locked. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts