CLICKER

12/26/2009 10:55 SaM.ThE.MaN#1
Yo,
How to make a program that keeps clicking in 1 place
example:
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
MouseClick("Left", 468, 352)
MouseClick("Right", 468,352)
Sleep(5000)
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
MouseClick("Left", 468, 352)
MouseClick("Right", 468,352)

i want the program to keep doing the above,
Sammy
12/26/2009 11:23 | Moep |#2
if u want an infinite loop use a "while...wend" loop, for example:

Code:
while 1
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
wend
if u want a define number of runs, use a "for...next" loop, for example:

Code:
for $ = 1 to 10
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
next
In this case the Script repeats 10 times.