Jump to content
UBot Underground

daveconor

Members
  • Content Count

    47
  • Joined

  • Last visited

Posts posted by daveconor

  1. Trying to scrape text that appears between an <address> and </address> but when I use <address>.*</address> it finds the text and duplicates it into another line below. I tested it with another tag "</a>" and it does the same thing, seems like it only duplicates it when I use tags, is it the brackets that throw it off?

     

    thanks in advance

  2. We are in need of a uBot developer, must be at least intermediate level (beginners please do not waste my time)


     


    Please send a PM with the following details:


     


    - Skype ID


    - Experience with uBot (years/months)


    - Rate / Hour


    - When can you start?


  3. Here is what Im trying to do:

     

    add list to list(%GET THE NAME FROM A VARIABLE$plugin function("TableCommands.dll""$list from table"&data"Column"#column number), "Don\'t Delete""Global")

     

    Why: 

     

    I want to create 10 lists from 1 CSV file but there are certain commands I use on all columns:

    Add list to list

    set lists position

    clear list

    the set variable to the first list item

     

    If I could choose the name of the list from a variable that would be set from another list I could then just loop everything

     

    Im open to ideas, thanks

     

     

  4. What about 

     

    thread {
        in new browser {
            navigate("http://www.google.com/", "Don\'t Wait")
            wait for element(<id="hplogo">, 10, "Appear")
            wait for browser event("Everything Loaded", 10)
            if($exists(<id="hplogo">)) {
                then {
                    navigate("http://www.yahoo.com/", "Don\'t Wait")
                    wait for element(<id="l_logo">, 10, "Appear")
                    wait for browser event("Everything Loaded", 10)
            if($exists(<id="l_logo">)) {
                 then {
                     navigate("http://www.google.com/", "Don\'t Wait")
                     wait for element(<id="hplogo">, 10, "Appear")
                     wait for browser event("Everything Loaded", 10)
            if($exists(<id="hplogo">)) {
                  then {
                      navigate("http://www.yahoo.com/", "Don\'t Wait")
                      wait for element(<id="l_logo">, 10, "Appear")
                      wait for browser event("Everything Loaded", 10)
             if($exists(<id="l_logo">)) {
                    then {
                      navigate("http://www.google.com/", "Don\'t Wait")
                      wait for element(<id="hplogo">, 10, "Appear")
                      wait for browser event("Everything Loaded", 10)

     

    That way the thread will close fairly quick if any one of the IFs fail and they dont have to be nested, am I missing something?

  5. Im trying to have four buttons each controlling the pausing and unpausing of a particular open thread. Here's what I've got so far:

     

    Using 4 threads

     

    Each ui button has a different variable for pause: #pause1, #pause2, #pause3, #pause4

     

    There is a thread counter that assigns each thread a number ( 1 - 4 and then resets back to one ) which is then set locally within the thread, with that I set that thread to work with its corresponding #pause number and button.

     

    if($comparison(#thread number"=", 1)) {
                    then {
                        loop while($comparison(#pause1"=""Pause")) {
                            wait(1)
                        }
                    }
                }

     

     

    Problem: say I let all 4 threads open completely and now I want to unpause thread #4, well I better not, because at that point the counter is on 4 and if I close 4, the next thread will receive a number value of 1 from the counter thus replacing the thread corresponding with button #1 before I had the chance to complete the first #1 thread in the first place. It only works if I go in order 1,2,3,4,1,2,3... but that's just lame...

     

    I'm pretty sure I'm going about this the wrong way and would LOVE if anyone could shed some light on it.

     

    Thanks 

  6. Thanks for enlightening us on this ubotdev, got a question about IFs, isnt the else part of it mostly redundant, I mean the bot is just going to do the same thing with both examples of code:

     

    if($both($exists(<innertext="Somthing1">), $exists(<innertext="Somthing2">))) {

            then {
                alert("Tada!")
            }
            else {

                alert("Oops")

            }

     

     

    OR

     

    if($both($exists(<innertext="Somthing1">), $exists(<innertext="Somthing2">))) {
            then {
                alert("Tada!")

    }

     

    alert("Oops")

     

     

    and then it would just continue with the next line if both requirements are not met, is there a point to leaving else in there?

  7. Hi fellas,

     

    Im trying to have ubot spin a list of items and then remove an item that was used

     

    Ex:

     

     

    My favorite Cars are:

     

    - [toyota, GM, Fiat, Chevy] Which ever one is used needs to be removed from the list, lets say GM for this one

    - [toyota, Fiat, Chevy] Chevy for this one

    - [toyota, GM, Fiat]

     

    All this needs to be in one spin node that is within a variable

     

    thanks

    any help appreciated

×
×
  • Create New...