Results 1 to 8 of 8

Thread: Timing?

  1. #1
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default Timing?

    Question 1
    how do i make a script repeat until time passed=10 minutes?
    I just don't get the MarkTime function.

    Question 2
    How do i make my script detect randoms like sandwichlady or evil chicken?

    Question 3
    Any hints how to avoid randoms?

  2. #2
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    1: I don't know

    2:
    SCAR Code:
    FindNormalRandoms
    and
    if FindFight then

    3:
    SCAR Code:
    FindNormalRandoms
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, California
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1:
    SCAR Code:
    Marktime(Wait);
          Repeat
          Wait(100);//1 tenth of a second or 100 milliseconds..
        until Wait >= 10000 //waits until time from the mark(wait) is = to or greater than 10 seconds.

    2: FindNormalRandoms;

    3: Look in your Anti-Ban folder.
    Current Project: All In 1 Falador Script - 20% DONE

  4. #4
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    procedure Example;
    Var
     I: Integer;
    begin
      I := 0;
      Repeat
        //Code
        Inc(I);
      until (I >= 10)
    end;
    ~Hermen

  5. #5
    Join Date
    Dec 2007
    Location
    Somewhere in Idaho
    Posts
    480
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Hermpie View Post
    SCAR Code:
    procedure Example;
    Var
     I: Integer;
    begin
      I := 0;
      Repeat
        //Code
        Inc(I);
      until (I >= 10)
    end;
    Yeah, like Hermpie is pointing out (at least I think he is) time = 10 what? 10 seconds, millisecond?, femptoseconds? minutes? hours? years? centuries? clock cycles?

    10 means nothing without some measurement attached to it.

  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if he add's:
    wait(100);
    It will run some code 10 times with a wait of 100 between it xD
    ~Hermen

  7. #7
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

  8. #8
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Procedure Example;
    var
     Timer:Integer;
    Begin
      MarkTime(Timer);
      Repeat
        //Code
        Wait(Every????Seconds);
      until (TimeFromMark > 60000 * 10) or (Statement = true/false) //this Statement is NOT needed
    End;
    ~Hermen

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Drop timing ?????????
    By havoc928 in forum OSR Help
    Replies: 22
    Last Post: 08-22-2007, 07:06 PM
  2. Having Problem with login(timing)
    By jnwms in forum OSR Help
    Replies: 3
    Last Post: 08-13-2007, 09:19 AM
  3. Logging and Timing
    By looneytoon in forum OSR Help
    Replies: 3
    Last Post: 03-27-2007, 03:55 AM
  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
  •