Jump to content

zatohichi

Members
  • Posts

    4
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by zatohichi

  1. On 10/4/2015 at 8:14 AM, Slayerduckie said:

    hello there can this script also run with l2tower?

    how to play sound in this script?

     

    On 6/4/2015 at 4:26 PM, adr.bot said:

     

    
    
     

    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\'+'PlayerAlarm'+'.wav');

    delay(500);

    StopSound;

    end;

    end;

    begin

    while true do begin

    delay(300);

    captcha();

    end;

    end.

     

    how to play sound in this script? i create a carpet sound in my adr cracker 1.71 and i have alarm.wav , how to config for play sound?

     

×
×
  • Create New...