Results 1 to 3 of 3

Thread: doing 2 things

  1. #1
    Join Date
    Dec 2011
    Posts
    183
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default doing 2 things

    i currently have this lil thing.

    repeat
    wait(1);
    if (TimeFromMark(Timer) > 5000 + random(1000)) then KeyUp(38) and break;
    until (FindBitmap(........);

    so basically, i want this timer to reach 5000 + random 1000 ms, then keyup(38) and then following it, a break. it doesnt compile correctly and i dont know how to do it. help plz

  2. #2
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Simba Code:
    repeat
        wait(1);
        if (TimeFromMark(Timer) > 5000 + random(1000)) then
        begin
          KeyUp(38);
          Break;
        end;
      until (FindBitmap(........);

    Is that what you want?

  3. #3
    Join Date
    Dec 2011
    Posts
    183
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    holy crap lol didnt think it would be that simple. thanks

Thread Information

Users Browsing this Thread

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

Posting Permissions

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