I made a simple fishbot. But I need help with the syntax
WinWaitActive ("METIN2")
$raby = Send("{SPACE}")
while 1
$coord = PixelSearch( 393, 126, 412, 133, 0xFCF8FC, 30)
If Not @error Then
$ryba = Send("{SPACE}")
EndIF
IF $ryba Then
Send("{F4}")
EndIF
WENd
When you find the fish so he pulls himself and NAND bait but then stops.
I do not know how I create the loop itself to hunt fish. Everything is OK except for the loop.
I imagine it like this:
Fishbot on ...
Cast rod. (Send space)
Wait for the fish.
Pull rod.
Apply bait. (Send F4)
-> And still the circle (loop)
Excuse my bad English, I used Google Translate.
Thank you very for your help!