Deathjoker
2011-01-27 15:24:39
Im trying to get my script to repeat a certain amount of times using
number as a integer
then number is number + 1
then im trying to make the number equal count
then when im using it have easy access to the count, but thats where i get confused. ultimatly im trying to make my script repeat "x" amount of times.
number as a integer
then number is number + 1
then im trying to make the number equal count
then when im using it have easy access to the count, but thats where i get confused. ultimatly im trying to make my script repeat "x" amount of times.
Program New;
Var
Number:Integer;
Const
Attack = 75000; //How Long You Attack Before Moving
T = 1000; //Amount Of MS Before Repeating Script
Move = 104; // Direction One
Moveback = 98; //Direction Two
Count = 100
Number = Number+1;
//Key Codes
//Control 17
//Left 100
//Right 102
//Up 104
//Down 98
Procedure Findwindow;
Begin
Findwindowtitlepart('My Window', False)
Activateclient;
End;
Procedure Kill;
Begin
KeyDown(17);
Wait(Attack)
Keyup(17);
Wait(300)
End;
Procedure Walk;
Begin
Keydown(Move);
Wait(500)
Keyup(Move);
Wait(100)
End;
Procedure Walkback;
Begin
Keydown(Moveback);
Wait(300)
Keyup(Moveback);
Wait(T+(50))
End;
Begin
Findwindow;
Repeat
Kill;
Walk;
Walkback;
Until(Number=Count)
End.