repeating bot script for macro

I've been struggling on making a script since I don't have that much knowledge on c++. I need help in making a bot for macro on a certain game. it uses autotouch a touch recording application for ios and can be played repeatedly, it supports LUA language on script.

i have this script i recorded from autotouch

----------normal attack
touchDown(2, 145.0, 895.0);
usleep(64264.71);
touchUp(2, 145.0, 895.0);
usleep(80116.33);

---------1st skill
touchDown(2, 115.0, 750.0);
usleep(64264.71);
touchUp(2, 115.0, 750.0);
usleep(80116.33);

---------2nd skill
touchDown(2, 220.0, 740.0);
usleep(64264.71);
touchUp(2, 220.0, 740.0);
usleep(80116.33);

--------pick up items
touchDown(2, 290.0, 935.0);
usleep(64264.71);
touchUp(2, 290.0, 935.0);
usleep(80116.33);


i want to play the normal attack,1st skill,2nd skill for 35 sec. and after that pick up items for 5 seconds. is that even possible?

here is the reference for basic script

http://autotouch.me/?page_id=5#how_to_write



thanks in advance.
Topic archived. No new replies allowed.