Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function SetForegroundWindow(hwnd: integer) : Boolean; stdcall;
- external 'user32.dll';
- function captcha:boolean; begin
- if engine.dlgtext.contains('Refresh') or
- engine.dlgtext.contains('Captcha') or
- engine.dlgtext.contains('60 seconds') or
- engine.dlgtext.contains('Bot') then begin
- SetForegroundWindow(Engine.GameWindow);
- PlaySound(exepath+'\sounds\'+'sirena'+'.wav');
- delay(500);
- StopSound;
- end;
- end;
- begin
- while true do begin
- delay(300);
- captcha();
- end;
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement