jb1095 Posted April 15, 2004 Share Posted April 15, 2004 hey all, i am working on a script that will loop or "repeat, 1000" times, my question is this, s there a command i can put in to stop the script while its running? below is a sample script i am playing with. WinRestore, Diablo II Sleep, 100 Repeat, 1000 LeftClick, 260, 480 ;click npc sell button Sleep, 50 LeftClick, 446, 185 ; click on item to sell(hand weapon) Sleep, 20 LeftClick, 446, 185 ; confirm sell Sleep, 50 RightClick, 117, 358 ;click on weapon where it was sold Sleep, 20 RightClick, 117, 358 ;buy weapon back Sleep, 50 EndRepeat I want to be able to stop the script if i press a certain key or series of keys. I hope you know what i mean because right now, if the script is running and I hit alt-ctrl-del to attempt to stop it, it doesnt stop and i need to hard boot my machine. Link to comment Share on other sites More sharing options...
Valik Posted April 15, 2004 Share Posted April 15, 2004 It's bad enough posting V3 support questions in the scripts & scraps forum, but V2 support questions are even further out of place... Link to comment Share on other sites More sharing options...
jb1095 Posted April 16, 2004 Author Share Posted April 16, 2004 thanks guys, i downloaded the newest version(i thought i had it for some reason) sorry for wrong post section Link to comment Share on other sites More sharing options...
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