Results 1 to 6 of 6

Thread: Last question for finishing script : TimeMarkers

  1. #1
    Join Date
    Jan 2007
    Posts
    513
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Last question for finishing script : TimeMarkers

    Hi.

    I was wondering how I can set a Time Marker? Like this:

    SCAR Code:
    procedure Blah
    begin
      TimeMarker;
      repeat
        //Stuff to repeat
      until (TimeMarker > 60000)
    end;

    How would i do that? I know how to set a variable, its just, it needs to count up.. I allready looked in SRL manual , nothing found..

    This is my last question, then I prob (i don't know the word in full, sorry..) can release my 2400+ lines script


    EDIT: I released my script here!!
    Srl simply rocks.

  2. #2
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    SCAR Code:
    var Marker: LongInt;
    begin
      MarkTime(Marker);
       repeat
        //procedures
       until TimeFromMark(Marker) > 1000
    end;
    Hup Holland Hup!

  3. #3
    Join Date
    Jan 2007
    Location
    East Coast, USA
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    38 Post(s)

    Default

    This is a dumb guess but:

    TimeMarker:= TimeMarker + 1
    into the repeat section

    most likely wrong... :S

    i dont use "TimeMarker" i just say "until (somevariable >= 60000)"
    and use somevarible + 1 in the repeat...

    some either you can try that TimeMarker:= TimeMarker + 1 or change to my method or wait for another reply...

    if I were you I'd wait... my method is noobish :P

  4. #4
    Join Date
    Jan 2007
    Posts
    513
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @ Nielsie - Yea, I readed about that, but i tought it was something else Thanks Hero-Man

    @Fastler - Nice try, Thanks
    Srl simply rocks.

  5. #5
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  6. #6
    Join Date
    Jan 2007
    Posts
    513
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I released it ^^ Check first post
    Srl simply rocks.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Question on an old script
    By link555 in forum News and General
    Replies: 4
    Last Post: 07-27-2008, 04:50 AM
  2. Question about a script
    By Criel in forum OSR Help
    Replies: 13
    Last Post: 02-29-2008, 10:00 AM
  3. Project NOOBS - Need help finishing up for the BETA release!!!!!
    By TravisV10 in forum RS3 Outdated / Broken Scripts
    Replies: 47
    Last Post: 12-03-2007, 11:31 PM
  4. Replies: 0
    Last Post: 07-03-2007, 06:41 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
  •