I'm making a bot for a game, the variables are working very well to make the right moves. Now I need to activate it in an advanced mode.
At first I make a setup in the variables, which object is the max type. Now I need to make it do:
1- A certain amount of clicks
2 - Check if it managed to do the amount of this action
3 - At the next opportunity, make the remaining amount that it didn't get in the last one.
4 - If it is stopped, it is recorded that there are still x remaining clicks.
Any help, and idea of how to create this?