//textout(0, 200, 200, "200", 0); int Image_number[10][20][20]; int PosX, PosY; int n=0; a: if (n<10) { loadimage (#Image_number[n][0][0], format(n)+".bmp"); n++; goto a; } //int n=0; u: sleep(20); if (getkeystate(17)==1) { if (getkeystate(68)==1) goto startScript; } if (getkeystate(27)==1) goto exit;//Нажат Esc. Выход goto u; startScript: u1: if (getkeystate(17)==0) { if (getkeystate(68)==0) goto startScript1; } goto u1; startScript1: //prez(); char h[8]; int Max = 0; int tt1; if (fopen ("code.txt", "r")!=0) { for (Max=0; fread(h[Max])!=0;Max++) { //messagebox(h[Max]); tt1=formatsn(h[Max]); findimage(1, #Image_number[tt1][0][0], 2371896, #PosX, #PosY, 0, 0, 1280, 962, -1); mousedown(LEFT,PosX, PosY); sleep(60); mouseup(LEFT,PosX, PosY); sleep(150); } fclose(); } goto u; //messagebox(Max); //textbkcolor (4227327,16711808); //textout(0, 100, 200, "20000", 0); //sleep(2000); //close(); //findimage(-1, #Image_1[0][0], 8969710, #PosX[0], #PosY[0], 0, 0, 1280, 962, -1); //mousemove(PosX_1[0], PosY_1[0]); //int PosX[512];int PosY[512]; //findimage(-1, #Image_0[1][0][0], 2371896, #PosX[0], #PosY[0], 0, 0, 1280, 962, -1); //mousemove(PosX[0], PosY[0]); exit:;