S7V7N Posted April 28, 2017 Share Posted April 28, 2017 As my last thread got closed because I missed a forum rule there and I apologize for that i'll make it different I want to make loops inside loops if possible I want it to do 1 thing and wait like 5 minutes to do it again but everytime i try it the next step on the scripts waits 5 minutes to work I want it to infinite do that inside the script but somehow don't mess with the rest of the script While 1 ;do stuff Sleep(1000) While 1 ;do stuff Sleep(5 minutes aka 300000) While 1 ;do stuff Sleep(10 minutes aka 600000) Wend Wend Wend Example how it should work but doesn't ^ Basically I want the first loop to be always true and looping without having to wait x time, but i want it to every 5 minutes do that one stuff (mostly a MouseClick) and every 10 minutes do the other stuff without having to wait 5/10 minutes for the next thing on the script to work. Hope I explained myself well Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 28, 2017 Moderators Share Posted April 28, 2017 So, as this code is exactly the same as what you posted in the locked thread, it seems you didn't read the forum rules to which you were pointed. Particularly this bit: Quote 7. Do not repost the same question if the previous thread has been locked - particularly if you merely reword the question to get around one of the prohibitions listed above. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
S7V7N Posted April 28, 2017 Author Share Posted April 28, 2017 6 hours ago, JLogan3o13 said: So, as this code is exactly the same as what you posted in the locked thread, it seems you didn't read the forum rules to which you were pointed. Particularly this bit: Because that's my problem/question? The code is just an example tho... It got locked because it was game scripting related. And that's fair... But how can I be helped with what I need if I can't explain myself? All I want is to know how to make it, i'll deal with the rest myself Link to comment Share on other sites More sharing options...
jchd Posted April 29, 2017 Share Posted April 29, 2017 Arguing with a mod when you've been warned twice isn't the best move, just saying. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Developers Jos Posted April 29, 2017 Developers Share Posted April 29, 2017 7 hours ago, S7V7N said: All I want is to know how to make it, i'll deal with the rest myself Well, you have been pointed to our rules which you have now violated 2 times, so this is the last time without consequences. *click* Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts