Jump to content
UBot Underground

Recommended Posts

Hi guys I was trying to find this in the tutorials but no luck .

I'm creating a small social bookmarking bot for 20 sites every site is put in a sub so my question is how can I create an ui check box for every sub and ask the bot to check if the ui check box for a specific sub(site)is true or false if it's false to continue to the next sub and so on.

 

Thank you

Link to post
Share on other sites

If you were planning on having check boxes for all 20 sites then you would simply place an if/then statement for each one.

 

Inside the IF you place an evaluate command (i.e. IF #propeller = True, THEN run sub Propeller). You wouldn't need anything in the else statement. Just do that for all sites. The order your IF statements appear is the order in which the sites will run.

 

John

Link to post
Share on other sites

That is the problem I don't know how to do the IF #propeller = True, THEN run sub Propeller

here is a picturepost-526-12838779565376_thumb.jpg

 

I'm not sure what to do in that part I tried to put the Ul check box inside the if statement but that doesn't make seance .

Link to post
Share on other sites

I apologize. here is what you do:

 

Drag the if/then statement in as you have already done. Then you want to drag the ëvaluate function (from the qualifiers list) into the IF (where you placed the True). A parameters box will pop up. In the left parameter, right click the rounded rectangle and choose ïnsert variable and pick the variable from the list-i.e. #propeller). highlight the "=" sign and in the right box type "True" (without the quotes).

 

Now drag the "run sub" node into the THEN box and choose the sub to run if that statement returns true. (i.e. Propeller)

 

 

 

  • Like 1
Link to post
Share on other sites

If you need this type of bot let me know I have 2 sites in it right now thinking of adding 18 more all sites are different sub I don't know if this is the right way to do it but it works :) and I know it's basic stuff but it's my first one.

Thanks for the help again .

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