Results 1 to 6 of 6

Thread: Help!! How do i make this keep clicking

  1. #1
    Join Date
    Feb 2007
    Posts
    64
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Help!! How do i make this keep clicking

    Could anyone help me i need help i've made and auto clicker and i need it to continuously click fast when i press the hotkey button F4 but it doens't anyone know what to do?

    This is my script:

    program AutoClicker;
    {.include SRL/SRL.scar}

    procedure click;
    begin
    if(IsFKeyDown(4))then
    begin
    GetMousePos(x,y);
    MMouse(x,y,0,0);
    mouse(x,y,0,0,true);
    end;
    end;

    begin
    SetupSRL;
    repeat
    click;
    until(IsFKeyDown(12));
    end.

  2. #2
    Join Date
    Mar 2007
    Location
    Under a rock
    Posts
    813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What would you need to click that fast for?

  3. #3
    Join Date
    Jan 2007
    Location
    Uk
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think you mean like this? I'm not sure if i understand you right though:
    This will click constantly until the f12 key down, and starts when u hit f4.

    Code:
    program AutoClicker;
    {.include SRL/SRL.scar}
    
    procedure click;
    begin
      if (IsFKeyDown(4)) then
      begin
        repeat
          GetMousePos(x, y);
          Mouse(x, y, 0, 0, true);
        until (IsFKeyDown(12))
      end;
    end;
    
    begin
      SetupSRL;
      click;
    end.

  4. #4
    Join Date
    Jan 2007
    Location
    Skaville, Jamaica
    Posts
    1,117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Your computer is going to lag like a mother w/o some waits in there

  5. #5
    Join Date
    Dec 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    doesnt work, says Failed when compiling
    Line 9: [Error] (16215:13): Unknown identifier 'x' in script whats that mean?

  6. #6
    Join Date
    Jan 2007
    Location
    the middle of know-where
    Posts
    1,308
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I think this is what really is meant to be happening:

    SCAR Code:
    program AutoClicker;
    {.include SRL/SRL.scar}
    var
    x,y : integer;

    procedure click;
    begin
      if (IsFKeyDown(5)) then
      begin
        repeat
          GetMousePos(x, y);
          Mouse(x, y, 0, 0, true);
        until (IsFKeyDown(6));
      end;
    end;

    begin
      SetupSRL;
      repeat
      click;
      until (False);
    end.
    On vacation in NeverLand,
    Code:
    typedef int bool;
    enum { false, true };

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Challenge make a intermediate program, Tell me something to make.
    By ShowerThoughts in forum News and General
    Replies: 9
    Last Post: 09-22-2008, 08:04 PM
  2. clicking on an npc
    By patman16 in forum OSR Help
    Replies: 3
    Last Post: 07-29-2008, 03:19 PM
  3. clicking
    By Splicer16 in forum OSR Help
    Replies: 13
    Last Post: 05-04-2008, 08:41 AM
  4. Help With Clicking DTM
    By Esteban in forum OSR Help
    Replies: 11
    Last Post: 06-05-2007, 07:54 PM
  5. Help!! How do i make this keep clicking
    By PheteyGee in forum OSR Help
    Replies: 2
    Last Post: 04-09-2007, 10:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •