hmm. could be tough to explain without you seeing what it does.
Basically its a minigame called fishing trawler.
During the 10 minutes that it goes out to sea, the boat fills up with water randomly. The water is represented by a dark blue in the boat. (see picture)
When the boat has water in it there is a bailing bucket in inventory slot 1 that is activated by clicking on it 2x. once to fill, once to empty. Once you bail enough the water in the boat is gone again. (see picture 2) At this point no bailing is necessary however clicking on the bucket has no ill effect except (in my opinion) to make cheating more detectable.
The script I am looking for is something I can start at the beginning of the 10 minute trip and end whenever.
I would like it to detect when the water is in the boat bottom and start bailing by clicking inventory 1. When the water is gone I would like it to stop bailing.
I dont mind putting in my own colors. The important thing is that the clicks are randomly times and not always in the same spot.
The trick of it is that the whole boat moves up and down in the window, so trying to identify the blue at a certain pixel will not work.
IF the script cannot be made so that bailing starts only when the boat fills up then I guess all I need is a randomly timed clicker for inventory slot 1.
hope that cleared things up.