SRL Archive - OSR Help

Help a noob please!


Darcy_Oner

2013-04-05 09:50:04

Ok guys heres what i need help with,

I want to repeat this:

AdjustMouseSpeed(1, 5, 6);
MouseBox( 658, 304, 673, 317, 1);
MouseBox( 652, 431, 673, 457, 1);

27 times, Can someone please tell me how to do it?

Thanks!

xtrapsp

2013-04-05 09:52:08

From: Darcy_Oner
Ok guys heres what i need help with,

I want to repeat this:

AdjustMouseSpeed(1, 5, 6);
MouseBox( 658, 304, 673, 317, 1);
MouseBox( 652, 431, 673, 457, 1);

27 times, Can someone please tell me how to do it?

Thanks!


You need to use an integer and increase it's value over time

var
R: Integer;

repeat
AdjustMouseSpeed(1, 5, 6);
MouseBox( 658, 304, 673, 317, 1);
MouseBox( 652, 431, 673, 457, 1);
inc(R);
Until (R = 27);

Darcy_Oner

2013-04-05 10:13:12

Thanks heaps!