i need it to repeat the -S, and press the Z button and then the 5 button. once it sees that a photo is gone, then it goes further in the code.
Example
Rep
Wait -S "image..." w 0 16
Key z
Key 5
................
but when he sees that the photo is not there, to continue further.
i use scan in a similar way and it works perfectly
rep 9999999
if(scan("image:test[]image:test1[]image:test2[]image:test3[]image:chaos6boss4[]image:test5[]image:test6" w1 0 16))
break
else
key z
wait 2
key 1
key 2
....
Example
Rep
Wait -S "image..." w 0 16
Key z
Key 5
................
but when he sees that the photo is not there, to continue further.
i use scan in a similar way and it works perfectly
rep 9999999
if(scan("image:test[]image:test1[]image:test2[]image:test3[]image:chaos6boss4[]image:test5[]image:test6" w1 0 16))
break
else
key z
wait 2
key 1
key 2
....
