Okay, so the problem is that it’s too slow because Eggplant takes a long time searching for each image before it gives up and moves on to look for the next one. There are several things you can do to speed up the searching.
First, if we can assume that the image you are looking for is already showing on the screen (so there’s no need for Eggplant to wait for it to appear and retry its search like it usually does) you can specify a time of 0 on the imageFound() function, like this:
if imageFound(0,"correct 1") then...
That may be enough to fix the problem in itself, since otherwise Eggplant will be searching the screen multiple times waiting for the first image to appear, before it begins looking for the next one. But there’s more you can do.
You can also set the searchRectangle to limit the area of the screen where Eggplant looks for the image. Since you know where the image will be shown (at least approximately), you can prevent Eggplant from searching the entire screen by doing this at the beginning of this section of your script:
set the searchRectangle to correctImageRect
You’ll have to set correctImageRect appropriately first, of course. At the end of that section, be sure to set the searchRectangle back again so Eggplant will search the entire screen:
set the searchRectangle to empty -- search the full screen again
This approach will speed up each search considerably.
Finally, you can simplify the script by looking for all of the images with a single call and then checking to see which one was found, like this:
if imageFound(0,"correct 1", "correct 2", "correct 3") then
set correctNumber to foundImageNumber()
click item correctNumber of ((512,320), (612,370), (712,456))
LogError "None of the correct images was found"
Adapt the above for your additional images and locations. You could use the foundImageName() or foundImageInfo() function instead of foundImageNumber(), depending on how you want to structure the script. Any of these functions (as well as foundImageLocation(), which probably wouldn’t be useful in your case) return information about the last image that was found, which is particularly useful after looking for several images at once like this.
Hopefully this will be enough to get your script working the way you want!