gproxy 1 Posted May 24, 2010 Report Share Posted May 24, 2010 Here's the background. I'm making a bot that will loop 50 times. I'd like the bot to pause after every 10 loops. One way I thought to do this was: (1) create a variable (#loop) that increments by 1 on each successful loop.(2) At the beginning of each loop would be an IF (evaluate variable #loop) THEN (pause) For this to work, I need the "evaluate" node to be #loop = "10 or 20 or 30 or 40 or 50". Is this possible? Can I enter multiple values into the "second value" field? Thanks Quote Link to post Share on other sites
alcr 135 Posted May 24, 2010 Report Share Posted May 24, 2010 You could do something like this, if evaluate #loop = #number then inc #number inc #number inc #number inc #number inc #number inc #number inc #number inc #number inc #number inc #number, if #loop = 50 then pause script,pause script Quote Link to post Share on other sites
webautomationlab 21 Posted May 25, 2010 Report Share Posted May 25, 2010 Outside loopSet var loopcount = 0 Inside loopinc loopcount if (eval) loopcount = 10 is TRUE set loopcount = 0 and PAUSE Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.