Sign in to follow this  
Followers 0
Eleky

Delay Command?

2 posts in this topic

#1 ·  Posted (edited)

Ok here is the problem. I'm making a diablo 2 bot and I am new to autoit but I am having some problems. I got it to were it runs diablo 2 but I need it to click 3 times with delays between them so that it can get past all of the like logo's. Then I need it to left click on the location that I have already found. But the problem is I dont know how to put a delay between them. So if someone can help me here is what it is so far. Thanks

Run("C:\Program Files\Diablo II\Diablo II.exe", "C:\Program Files\Diablo II\")
WinWaitActive("Diablo II", "", 2)
MouseClick("left")
Sleep(2000)
MouseClick("left")
Sleep(2000)
MouseClick("left", 396, 352)
Edited by Eleky

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0