Guest catvomit Posted August 26, 2004 Posted August 26, 2004 hey I made a script to reset the game diablo II every two successful games joined. If WinExists("PBot(by jhj) Control Center", "Success: 2") Then $restart = 1 EndIf If WinExists("PBot(by jhj) Control Center", "Success: 4") Then $restart = 1 EndIf If WinExists("PBot(by jhj) Control Center", "Success: 6") Then $restart = 1 EndIf If WinExists("PBot(by jhj) Control Center", "Success : 8") Then $restart = 1 EndIf how would i tell the script, that i want it to reset also on the 10th game, 12th game, 14th game.... and so on all the way up to 1000? do i have to type each one out or there a command for this???
ezzetabi Posted August 26, 2004 Posted August 26, 2004 RTFM For $c = 2 to 1000 Step 2 If WinExists("PBot(by jhj) Control Center", "Success: " & $c) Then $restart = 1 EndIf Next
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now