Results 1 to 3 of 3

Thread: How do i add time to my script?

  1. #1
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default How do i add time to my script?

    How can i add time to my script?

    Like it should logout every (x) minuts

    and stop after (y) minuts

    but i don't know how i can add the time?

    can someone plz tell me the procedures

    tyvm

  2. #2
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    marktime(...);

    ... = an integer variable

    That starts counting the time from wherever you call it, in ms (1000 ms = 1 sec).

    SCAR Code:
    TimeFromMark(....)

    ... = an integer variable that you have used with marktime before.

    Returns the amount of ms since the marktime.

  3. #3
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default

    Thx it works xD

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Every time I try to RUN a script.
    By Tidal in forum News and General
    Replies: 18
    Last Post: 11-08-2008, 09:23 AM
  2. my script gets this every time =[
    By skilld u in forum OSR Help
    Replies: 3
    Last Post: 04-14-2008, 10:20 PM
  3. Time in script
    By Vap0ur in forum OSR Help
    Replies: 2
    Last Post: 10-23-2007, 02:33 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
  •