well, I'm back with another obviously easy question that I have no clue how to go about. basicly, I'd like it to search for a pixle in a certian area, then refine that search for the same color in a smaller area. it should move the mouse if it sees it, but I keep getting a error message that says you need endif's. I have no Idea where to put them, or how to go about it. some help would be apricated.
PixelSearch( 469, 417, 514, 458, 0xbe3137, 10 )
If Not MsgBox(1, "nothing", "can't see nothin