• Log in or sign up for an account here: https://www.sythe.org/login

help, how to loop this?

  • Thread starter Thread starter ElScripter
  • Start date Start date
E

ElScripter

Guest
Code:
begin
activateclient;
  MoveMouseSmooth(588+random(2),224-random(1));
wait(1000);
  HoldMouse(588,224,false);
Wait(100+random(200));
  ReleaseMouse(588,224,true);


MoveMouseSmooth(593+random(2),302-random(1));
wait(700+random(200));
  HoldMouse(593,302,true);
wait(100+random(200))
  ReleaseMouse(593,302,true);
wait(1000+random(100));
end.



i am a noob....at scripting, and im making my first auto seller, but i just need to know

how to loop.....thx if u tell me :)

i also tried this

begin
repeat
Writeln('This will go on forever.');
until(false);
end.


but i dont know where to put it


HELP!
 
How to loop it? Just put repeat - until like you did in the example. If you still have trouble, PM me and I'll make one for you.
 
Code:
repeat
MoveMouseSmooth(593+random(2),302-random(1));
wait(700+random(200));
  HoldMouse(593,302,true);
wait(100+random(200))
  ReleaseMouse(593,302,true);
wait(1000+random(100));
until(false);
 
Hi every one, this is Shaw. I am newer in this fourm and also in this site. All of the above posts are very nice.

Thanx.
 
What town said but also:
procedure mouseMove1;
begin
MoveMouseSmooth(588+random(2),224-random(1));
wait(1000);
HoldMouse(588,224,false);
Wait(100+random(200));
ReleaseMouse(588,224,true);
end;

procedure mouseMove2;
begin
MoveMouseSmooth(593+random(2),302-random(1));
wait(700+random(200));
HoldMouse(593,302,true);
wait(100+random(200))
ReleaseMouse(593,302,true);
wait(1000+random(100));
end;

begin
activateclient;
repeat
mouseMove1;
mouseMove2;
until(false);
end. //assuming this is your main loop.
 
Runescape Gamblingrunescape gambling
Back
Top