Colemanbro Posted November 20, 2017 Share Posted November 20, 2017 Im trying to create a bot for a game and I wrote everything perfect. Now at the very end of the script, I wrote WEnd but underneath when I test compiled the script it says missing EndIF. Underneath is the end of the script. $pix = PixelSearch(1185,313,1327,340,0x98969A,5) if not (@error) then MouseClick("left", 1259,323,1,1) sleep(3000) MouseClick("left",1029,602,1,1) sleep(1000) MouseClick("left",1157,672,1,1) sleep(1000) EndIf MouseClick("left",1323,109,1,1) sleep(4000) WEnd Link to comment Share on other sites More sharing options...
IAMK Posted November 21, 2017 Share Posted November 21, 2017 Link to comment Share on other sites More sharing options...
Developers Jos Posted November 21, 2017 Developers Share Posted November 21, 2017 @Colemanbro, Please read our forum rules, especially the section about game automation. @IAMK, Please simply hit the Report button on Threads like this so the moderation team can act. Thanks. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts