Jump to content
UBot Underground

Leaderboard

Popular Content

Showing content with the highest reputation on 11/02/12 in all areas

  1. Examples: A = Oven = Kitchen Appliance B = Fridge = Kitchen Appliance C = Garage Door = Non-Kitchen Appliance D = Vacuum Cleaner = Non-Kitchen Appliance F = False = Logical Item T = True = Logical Item 0 = False = Logical Item 1 = True = Logical Item ------------- OR = EITHER If ANY of the conditions is met, the result is TRUE COMPARE Kitchen Appliances A OR B = TRUE .... The Oven OR the Fridge are EITHER of them, Kitchen Appliances A OR C = TRUE .... The Oven is a Kitchen Appliance while Garage Door is a Non-Kitchen Appliance, but at least ONE of them IS! B OR C = TRUE .... The Fridg
    1 point
  2. There is a way around this. You make a stop button in the UI, in that stop button you set a variable (in my example i called it #shallistop) and then throughout your loop you use the if statement to check if the variable is set to YES, then when you press the stop button the loop will stop! no need to wait for it to finish. Here is a little example for you. ui stat monitor("Loop", #loopnumber) set(#shallistop, $nothing, "Global") set(#shalistop, $nothing, "Global") set(#loopnumber, 0, "Global") ui button("STOP") { set(#shalistop, "YES", "Global") } loop(999999) { if(#shalis
    1 point
  3. for example... href will return "/resources/food.jpg" while full href will return "http://site.com/path/resources/food.jpg"
    1 point
  4. I believe the bot I built for that site used a spreadsheet... so it kept the keyword in one column and the href in the next... then when it went through to download, it downloaded the href and named the file with the keyword. I also used more descriptive names... like shoes 2, shoes 3 to separate 2 word and 3 word keywords. Should be pretty easy... if not I'll have a look and see if I can find it tomorrow... its way past my bedtime...
    1 point
×
×
  • Create New...