Im making a spam script to get on the stats page on bushtarion, only problem is for some reason my script wont work on the repeat section? does anyone know the problem, im stumped???
by the way its in the repeat area, the first part works fine...
and what happens is for sum reason it clicks the exit button...
SCAR Code:
program BushtarionSpammer;
const
Startup = 5; // Time you have before the program starts (In seconds)
Load = 10; // The time it takes for your bushtarion web page to load (In seconds)
ID = 'XXXX'; // This will be typed in the id box.(add commas to seperate multiple id's)
TheSubject = 'Enter Your Subject.'; // This will be typed in the subject box.
TheMessage = 'Enter Your Message.'; // This will be typed in the message box.
begin
Writeln('The program will start shortly. Change the start time in the settings above');
Wait(Startup * 1000);
MoveMouseSmooth(455, 188);
ClickMouse(455, 188, True);
SendKeys(ID);
MoveMouseSmooth(630, 188);
ClickMouse(630, 188, True);
SendKeys(TheSubject);
MoveMouseSmooth(316, 216);
ClickMouse(316, 216, True);
SendKeys(TheMessage);
MoveMouseSmooth(560, 345);
ClickMouse(560, 345, True);
Wait(Load * 1000);
repeat // PROBLEM STARTS HERE!!!!
begin
MoveMouseSmooth(445, 214);
ClickMouse(445, 214, True);
SendKeys(ID);
MoveMouseSmooth(630, 214);
ClickMouse(630, 214, True);
SendKeys(TheSubject);
MoveMouseSmooth(316, 242);
ClickMouse(316, 242, True);
SendKeys(TheMessage);
MoveMouseSmooth(560, 371);
ClickMouse(560, 371, True);
Wait(Load * 1000);
end;
until(false);
end.