I'd like to know how to but a RandomWait into my script. I'd like to run a script which clicks non stop on some buttons and once in every 5-10 on a certain button, anyone knows how to do this?
procedure Clickbuttons;
var
c: Integer;
begin
c := RandomRange(5, 10);
While True do
begin
// Press your Buttons here
dec(c);
if c = 0 then
begin
//Press the special button here
c := RandomRange(5, 10);
end;
end;
end;