Jump to content
UBot Underground

Translator needed..How do I tell the Cylons....


Recommended Posts

Ok so im still trying to figure out how to I tell the cylons(bots) to do an action for every 50th loop?

 

Do i use IF 50, 100, 150 so on?

That gets messy because i have bots doing loops in the thousands.

 

What I want is basically make it do an action depending on what I tell it. Whether every 20th, 50th 100th etc.

 

Specifically I want the bot to post only X amount of post per blog>> log out>> change account>>log in>> post the rest.

 

Tnx

Link to post
Share on other sites

You could do an evaluation of whether the iteration of the loop you are on when divided by 50 is equal to the integer value of the same calculation.

 

Andy

Link to post
Share on other sites

Wow I just dont understand haha.

Anyway thank you guys. I'll do a bot following this logic and maybe something clicks for me.

 

Edit: ok im starting to get it.

 

If I have a thousand sites to visit for example, and i want it to post 50 times per site, the main loop is only 20.

 

Ingenius!

Link to post
Share on other sites

Here is the easy way. set a variable outside the loop to 50. At the end of the loop use a dec node and decrement that variable by one. After 50 cycles your variable will be 0. Inside the loop use an if/then statement to evaluate that variable:

 

i.e.

 

if #variable = 0 then do something AND set variable to 50 again.

 

Make sense?

 

John

Link to post
Share on other sites

I managed to get the earlier recommendations by Botbuddy and Net66, but yeah tnx for that John. I can think of one application where decrementing to zero initiates an action can be useful!

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...