Jump to content
UBot Underground

Why Add To List Copies All Lines Instead Of 1 Line?


Recommended Posts

I have a text box in which I enter several names.

 

I want ubot to enter them 1 by 1 but somehow it copies the whole list and enters the whole thing...

What did i do wrong?

ui block text("names",#names)
add item to list(%names,$list from text(#names,$new line),"Don\'t Delete","Global")
navigate("http://url.com","Wait")
wait(4)
type text(<name="names">,$next list item(%names),"Standard")
Link to post
Share on other sites

try

ui block text("names",#names)
add list to list(%names,$list from text(#names,$new line),"Don\'t Delete","Global")
set list position(%names,0)
loop($list total(%names)) {
    navigate("http://url.com","Wait")
    wait(4)
    type text(<name="names">,$next list item(%names),"Standard")
}

Oh, sorry, I'm hurry sleeping. It was not inspected and tested.
Edited

Edited by pash
Link to post
Share on other sites

The problem is you are using add item to list and you need to be using add list to list, try this:

ui block text("names",#names)
clear list(%names)
add list to list(%names,$list from text(#names,$new line),"Delete","Global")
navigate("http://url.com","Wait")
wait(4)
type text(<name="names">,$next list item(%names),"Standard")
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...