Jump to content
UBot Underground

How To Make Ubot Use Contents In Order In A Text File?


Recommended Posts

I just bought UBot and I decided to create a Hotmail Account Creator.

 

So, I am stuck at the part where to make UBot read from a file in order.

 

So here is an example text file how I have it setup:

email 1
email 2
email 3

But UBot seems to be picking one line, and just using that each time I make the bot run. Do I need to use increment on the list or something?

 

If I need to provide other info let me know. Thanks UBot community!

Link to post
Share on other sites

Take a look at this small example

save to file("{$special folder("Desktop")}/list.txt","email 1
email 2
email 3")
clear list(%myList)
add list to list(%myList,$list from file("{$special folder("Desktop")}/list.txt"),"Delete","Global")
set(#i,0,"Global")
loop while($comparison($list total(%myList),">",#i)) {
    comment("Do your stuff here")
    alert($list item(%myList,#i))
    increment(#i)
}

It will save a list to file, read the content of list.txt from your desktop and alert you with the content of each line of text... I think this will get you started.

post-12789-0-21764900-1423832524_thumb.png

  • Like 1
Link to post
Share on other sites

Take a look at this small example

save to file("{$special folder("Desktop")}/list.txt","email 1
email 2
email 3")
clear list(%myList)
add list to list(%myList,$list from file("{$special folder("Desktop")}/list.txt"),"Delete","Global")
set(#i,0,"Global")
loop while($comparison($list total(%myList),">",#i)) {
    comment("Do your stuff here")
    alert($list item(%myList,#i))
    increment(#i)
}

It will save a list to file, read the content of list.txt from your desktop and alert you with the content of each line of text... I think this will get you started.

Thanks for the help, but I have seen people post code around here quite often, where do I place that in the standard version of UBot?

Link to post
Share on other sites

First make a backup if you ***.ubot file

 

Then change the file type from .ubot to .zip unzip it and you will find the two files with your code

Or you could buy ubot pro/del

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