traviscreate 0 Posted February 13, 2015 Report Share Posted February 13, 2015 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 3But 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! Quote Link to post Share on other sites
dyvel 20 Posted February 13, 2015 Report Share Posted February 13, 2015 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. 1 Quote Link to post Share on other sites
traviscreate 0 Posted February 13, 2015 Author Report Share Posted February 13, 2015 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? Quote Link to post Share on other sites
Pete 121 Posted February 13, 2015 Report Share Posted February 13, 2015 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 codeOr you could buy ubot pro/del Quote Link to post Share on other sites
dyvel 20 Posted February 13, 2015 Report Share Posted February 13, 2015 Here's the example code in ubot form. Standard version can't use code view... only node viewtravis.ubot 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.