Jump to content
UBot Underground

Making a constant loop..


Recommended Posts

Is there to make a bot loop for a list total and when it reaches the final list item start the loop from the beginning again aside from creating another loop?

 

I have a bot that needs to loop constantly until the bot is closed and don't quite know how to accomplish this one.

 

Thanks...

Link to post
Share on other sites

Is there to make a bot loop for a list total and when it reaches the final list item start the loop from the beginning again aside from creating another loop?

 

I have a bot that needs to loop constantly until the bot is closed and don't quite know how to accomplish this one.

 

Thanks...

 

At the end of the loop put in an if statement that checks if the current list position is equal to the list total. If it is then set the current list position to 0

 

Andy

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...