Heres my finished script so far… i was wondering if someone could tell me how to make it loop just for 20 times because all i know how is to make this one part loop forever…
/////////////////////////////////////////////////////////////////
// Death Rune Buyer //
// By: Whitevans1 //
////////////////////////////////////////////////////////////////////////
// Instructions: //
// 1. Start In Betty's Rune Shop //
// 2. Get Betty's Unique Color //
// 3. Fill In Username,Password, and Betty's Unique Color //
// 4. Drag CrossHairs to Runescape Client //
// 5. Hit Run //
// 6. Hit Ctrl+Alt+S to stop after you bought all runes //
///////////////////////////////////////////////////////////////////////
program DeathRuneBuyer;
{.include SRL\SRL.scar}
//---------------------------------------------------\\
const
username='';//username
password='';//password
Betty =6883691;//Betty's Color(A Unique One)
//---------------------------------------------------\\
begin
UpChars:= LoadChars2(AppPath + 'CharsRS22\');
MoveMouseSmooth(458, 288);
ClickMouse(458, 288, true);
Random(3);
Wait(500);
MoveMouseSmooth(370, 253);
Random(4);
Wait(300);
ClickMouse(370, 253, true);
SendKeysSilent(username)
MoveMouseSmooth(372, 426)
Wait(400);
ClickMouse(370, 270, true);
SendKeysSilent(password)
Wait(233);
MoveMouseSmooth(299, 321);
HoldMouse(299, 321, true);
Wait(450);
ReleaseMouse(299,321, true);
Wait(7000);
MoveMouseSmooth(509, 332);
HoldMouse(509, 332, true);
Wait(500);
ReleaseMouse(509, 332, true);
Wait(1093);
begin
FindObj(x, y, 'Trade', Betty, 5)
Mouse(x, y, 1, 1, false);
if (ClickOption('Trade', 1))then
wait(700);
while(true) do
begin
MoveMouseSmooth(421, 86);
wait(500);
ClickMouse(421, 86, false);
Random(10);
wait(900);
ClickMouse(379, 155, true);
wait(900);
end;
end;
end.