Results 1 to 5 of 5

Thread: Timer?

  1. #1
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Timer?

    I need a timer procedure. But i need to know how to make one so i dont have to give credits.
    I do visit every 2-6 months

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    You mean like this?
    SCAR Code:
    program New;
    {.include SRL/SRL.scar}
    var
    StartMark, PlayCount :integer;

    begin
      SetupSRL;
      MarkTime(StartMark);
      ClearDebug;
      repeat
        Wait(5);
        ClearDebug;
        WriteLn('Total time spent : '+TimeRunning);
      until (TimeFromMark(StartMark) > 360000); //Mins: Mins * 60, add 3 zeros, onto the end.
      //Hours: Hours * 60 * 60, add three zeros onto the end.
      //Default here is 3 hours :D ( I was cooking Jello )
      Writeln('Sigh.. all done counting down. ');
      repeat
        PlayCount := PlayCount + 1;
        PlaySound('C:\WINDOWS\Media\WindowsXPStartup.wav');
        Wait(4000);
      until PlayCount > 100;
      Writeln('Done?! >:)');
    end.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I Did it thanks you guys! Now i added a timer for my script.
    I do visit every 2-6 months

  4. #4
    Join Date
    Mar 2007
    Posts
    915
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by zasz View Post
    I need a timer procedure. But i need to know how to make one so i dont have to give credits.
    What's wrong with giving credits?

    Sig by oldschool .html

    Earn money for free!

  5. #5
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by lakerzz8 View Post
    What's wrong with giving credits?
    I just wanted to know how to make my own... That way i don't have to give credits.
    I do visit every 2-6 months

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. I need a timer
    By randy marsh in forum OSR Help
    Replies: 3
    Last Post: 01-09-2009, 04:11 AM
  2. Timer Forums!
    By Timer in forum Misc. Links and Programs
    Replies: 11
    Last Post: 11-21-2008, 05:00 AM

Posting Permissions

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