Results 1 to 3 of 3

Thread: repeat help

  1. #1
    Join Date
    Mar 2007
    Location
    England
    Posts
    274
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    repeat help

    program script;


    begin
    ClickMouse(233, 423, True);
    ClickMouse(261, 416, True);
    ClickMouse(219, 649, True);
    end.

    how can i get this to repeat every 1 second

  2. #2
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    SCAR Code:
    program script;


    begin
      repeat
        ClickMouse(233, 423, True);
        ClickMouse(261, 416, True);
        ClickMouse(219, 649, True);
        wait(1000);
      until(isfkeydown(12)) //Press F12 to stop
    end.

    Slightly more advanced here:

    SCAR Code:
    program script;
    {.include SRL/SRL.scar}

    begin
      SetupSRL;
      repeat
        Mouse(233, 423, 4, 4, True);
        Mouse(261, 416, 4, 4, True);
        Mouse(219, 649, 4, 4, True);
        wait(1000 + random(500));
      until(isfkeydown(12)) //Press F12 to stop
    end.
    Interested in C# and Electrical Engineering? This might interest you.

  3. #3
    Join Date
    Mar 2007
    Location
    England
    Posts
    274
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ty its not for runescape its jus for an online game

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Repeat?
    By FortAsh in forum OSR Help
    Replies: 9
    Last Post: 01-13-2009, 04:18 PM
  2. repeat until...???
    By Alligaattor in forum OSR Help
    Replies: 12
    Last Post: 10-23-2008, 12:59 AM
  3. How do I get this to repeat until?
    By Claymore in forum OSR Help
    Replies: 2
    Last Post: 07-07-2008, 04:02 PM
  4. repeat somewhere help thx
    By rkroxpunk in forum OSR Help
    Replies: 4
    Last Post: 03-12-2007, 08:24 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
  •