Results 1 to 3 of 3

Thread: Need a Simple Timing Script

  1. #1
    Join Date
    Sep 2006
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need a Simple Timing Script

    I need a script that rotates the runescape window every 4 minutes

  2. #2
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    RotateEvery(4+random(1));

    i think thats right
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  3. #3
    Join Date
    Jun 2006
    Location
    USA
    Posts
    428
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try this:
    SCAR Code:
    program MapRotate;
    {.include SRL\SRL.scar}

    var
      i, t, a, tMinutes: Integer;

    begin
      SetupSRL;
      try
        tMinutes:= StrToInt(Readln('How many minutes to run?'));
      except
        Writeln('Please input only numbers.');
      end;
      repeat
        i:= Random(3)
        case i of
          0: MakeCompass('N');
          1: MakeCompass('E');
          2: MakeCompass('S');
          3: MakeCompass('W');
        end;
        Inc(t);
        MarkTime(a);
        repeat
          Wait(500);
        until(TimeFromMark(a) >= 240000)
        if ((t / 4) >= tMinutes) then
          Exit;
      until(t = tMinutes);
    end.

    When it starts it asks for minutes, then ever 4 minutes it rotates the map randomly.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Timing?
    By marpis in forum OSR Help
    Replies: 7
    Last Post: 11-06-2008, 05:56 PM
  2. Script for GuildWars Timing Problem?
    By sollek in forum OSR Help
    Replies: 8
    Last Post: 10-25-2007, 01:57 AM
  3. Replies: 5
    Last Post: 03-26-2007, 07:57 PM
  4. timing
    By omgh4x0rz in forum OSR Help
    Replies: 4
    Last Post: 02-14-2007, 02:42 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
  •