# Is it possible to.. (complicated question)

## Recommended Posts

Okay, first, here's my code:

```MouseClick("left",1176,653,1,0)
MouseClick("left",1118,653,1,0)
MouseClick("left",1060,653,1,0)
MouseClick("left",1002,653,1,0)
MouseClick("left",944,653,1,0)
MouseClick("left",886,653,1,0)
MouseClick("left",828,653,1,0)
MouseClick("left",770,653,1,0)
MouseClick("left",712,653,1,0)
MouseClick("left",654,653,1,0)
MouseClick("left",596,653,1,0)
MouseClick("left",538,653,1,0)
MouseClick("left",480,653,1,0)```

Notice how the X coord decreases by 58 each time?

What I need to know is if it's possible to achieve the same effect without opening up a calculator, decreasing 58 and then making a new MouseClick command.

Is there maybe some sort of a function I can write that can make it decrease the X coord by 58 (or any number) for M ammount of times

##### Share on other sites

```For \$j = 1176 To 480 Step - 58
MouseClick("left",\$j,653,1,0)
Sleep(50)
Next```

UEZ

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Perfect.

thanks.

## Create an account

Register a new account

• ### Recently Browsing   0 members

×

• Wiki

• Back

• #### Beta

• Git
• FAQ
×
• Create New...