blazo 5 Posted September 7, 2010 Report Share Posted September 7, 2010 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 Quote Link to post Share on other sites
JohnB 255 Posted September 7, 2010 Report Share Posted September 7, 2010 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 Quote Link to post Share on other sites
blazo 5 Posted September 7, 2010 Author Report Share Posted September 7, 2010 That is the problem I don't know how to do the IF #propeller = True, THEN run sub Propellerhere is a picture 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 . Quote Link to post Share on other sites
blazo 5 Posted September 7, 2010 Author Report Share Posted September 7, 2010 Solved sorry i mist the evaluate Quote Link to post Share on other sites
blazo 5 Posted September 7, 2010 Author Report Share Posted September 7, 2010 Thank you man always in my rescue the problem was when I tried I put true not True this is why it didn't work .Thank you again. Quote Link to post Share on other sites
JohnB 255 Posted September 7, 2010 Report Share Posted September 7, 2010 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) 1 Quote Link to post Share on other sites
blazo 5 Posted September 7, 2010 Author Report Share Posted September 7, 2010 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 . Quote Link to post Share on other sites
JohnB 255 Posted September 7, 2010 Report Share Posted September 7, 2010 Thanks blazo! Keep on botting!http://ubotstudio.com/forum/public/style_emoticons/default/rolleyes.gif 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.