SRL Archive - Help

doing 2 things


zluo

2012-05-11 01:26:08

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

Total

2012-05-11 01:31:58


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

Is that what you want?

zluo

2012-05-11 04:04:57

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