What is wrong with my fishing script?

05/03/2022 10:35 Comprehensive_Socks156#1
Hello I am new to writing scripts and was wondering if anyone experienced can let me know what I am doing wrong with mine. I know there are betters scripts out there to download but I was hoping to build the experience myself. Basically, it's not detecting the image with this script I wrote:

Quote:
F11::
Loop
{
Send {E}
Loop
{
imageSearch, FoundX, FoundY, 0, 0, 1920, 1080,
C:\Users\Downloads\imagesearchfis\fish.png
if (ErrorLevel = 0)
Send {E}
}
Sleep 8000
}
*ESC::ExitApp
I also tried making the area tighter (944, 472, 988, 547) and using JPG but those weren't working out either. Btw the placement for the texts should be correct but the copy and paste isn't putting them in the write spots.

Also I think the loop in the middle is probably wrong since i'm not sure if it will continue after finding the image, but I just haven't gotten that far to see.
05/03/2022 10:37 Landoriell#2
write me the dm, it's obvious here
05/03/2022 10:47 Comprehensive_Socks156#3
Quote:
Originally Posted by Landoriell View Post
write me the dm, it's obvious here
DM'ed you