Chirag8520 0 Posted August 22, 2013 Report Share Posted August 22, 2013 (edited) i have a issue that i have one .txt file where total number of link is 22 one by one, and i have a issue that i want to make a script for ubot and that all link in .txt file will run in ulrbar one by one.. i make a script but it not work so please help me to make my script.. i attach my script ass a screenshort.. Edited August 22, 2013 by Chirag8520 Quote Link to post Share on other sites
Gogetta 263 Posted August 22, 2013 Report Share Posted August 22, 2013 Delete the loop and swap it out with this one. I think your problem is you are navigating to all 22 urls without some sort of wait command. Also, it is better to use a list total for your loop count then to hard code a number (22) right in to the bot. loop($list total(%urls)) { navigate($next list item(%urls), "Wait") } Quote Link to post Share on other sites
Chirag8520 0 Posted August 22, 2013 Author Report Share Posted August 22, 2013 i have a issue that i have one .txt file where total number of link is 22 one by one, and i have a issue that i want to make a script for ubot and that all link in .txt file will run in ulrbar one by one.. i make a script but it not work so please help me to make my script.. i attach my script ass a screenshort.. Quote Link to post Share on other sites
Chirag8520 0 Posted August 22, 2013 Author Report Share Posted August 22, 2013 Delete the loop and swap it out with this one. I think your problem is you are navigating to all 22 urls without some sort of wait command. Also, it is better to use a list total for your loop count then to hard code a number (22) right in to the bot. loop($list total(%urls)) { navigate($next list item(%urls), "Wait") } Thank you sir for Reply but till i have aproblem plese check it..http://www.ubotstudio.com/forum/index.php?/topic/14698-till-not-work-sir/click on this link where i post my new screenshort Quote Link to post Share on other sites
Gogetta 263 Posted August 22, 2013 Report Share Posted August 22, 2013 Let just keep it the conversation in just one thread. Ok, so I am not sure why you took the navigate out of the loop. The navigate should remain in the loop. Please try this complete code instead of your loop and navigate command. loop($list total(%urls)) { navigate($next list item(%urls), "Wait") } If it still doesnt work, then you urls in your files are not formatted line by line. Quote Link to post Share on other sites
Chirag8520 0 Posted August 22, 2013 Author Report Share Posted August 22, 2013 loop($list total(%urls)) { navigate($next list item(%urls), "Wait") } In my Version i do not see the codeI have Created the following Drag and Drop commandshttp://screencast.com/t/gX0BAPY0Is this Correct? Quote Link to post Share on other sites
Gogetta 263 Posted August 22, 2013 Report Share Posted August 22, 2013 You can still copy the code into the node view, it will work. Just copy the text and paste in like normal. I cant see by your image if you have the wait command enabled in your navigate command. Other than that, yes it looks right. Edit: Open your urls file in notepad and under format click word wrap to make sure that your urls are all separated line by line. If not then thats the problem. 1 Quote Link to post Share on other sites
Chirag8520 0 Posted August 22, 2013 Author Report Share Posted August 22, 2013 clear list(%urls) add list to list($list from file("C:\\Users\\admin\\Desktop\\uubot\\urls.txt"), %urls, "Delete", "Global") set list position(%urls, 0) loop($list total(%urls)) { navigate($next list item(%urls), "Wait")} This is my full code sir... till not working sir.... Quote Link to post Share on other sites
Gogetta 263 Posted August 22, 2013 Report Share Posted August 22, 2013 Yes, there is nothing wrong with that code. The problem is in your file then. $list from file loads the list into ubot using new line as a delimiter. So if your file is not separated line by line then it will cause problems. I am not sure how your list in your file was saved, but it must not be formatted correctly. Quote Link to post Share on other sites
Pizza Pro 11 Posted August 22, 2013 Report Share Posted August 22, 2013 You can still copy the code into the node view, it will work. Just copy the text and paste in like normal. I cant see by your image if you have the wait command enabled in your navigate command. Other than that, yes it looks right. Edit: Open your urls file in notepad and under format click word wrap to make sure that your urls are all separated line by line. If not then thats the problem. I didn't know that you could paste code directly into Node view. I was assuming that you had to switch over to Code view, so I was too lazy to do it because of the lag on my computer when switching. Thanks for the info!! Quote Link to post Share on other sites
LazyBotter 188 Posted August 22, 2013 Report Share Posted August 22, 2013 clear list(%urls) add list to list($list from file("C:\\Users\\admin\\Desktop\\uubot\\urls.txt"), %urls, "Delete", "Global") set list position(%urls, 0) loop($list total(%urls)) { navigate($next list item(%urls), "Wait")} This is my full code sir... till not working sir.... Have you checked your debugger to see of the URLs are properly formatted? Quote Link to post Share on other sites
Chirag8520 0 Posted August 22, 2013 Author Report Share Posted August 22, 2013 Have you checked your debugger to see of the URLs are properly formatted? No sir plese tell me how i check.. Quote Link to post Share on other sites
Chirag8520 0 Posted August 22, 2013 Author Report Share Posted August 22, 2013 (edited) Sir is my .txt file please check is there any mistake of formating...https://docs.google.com/file/d/0B_0YML_gbZqKR0lwYzNQdHZHMGc/edit?usp=sharing Otherwise please sir make a complete script for run all .txt links in url one by one.. Edited August 22, 2013 by Chirag8520 Quote Link to post Share on other sites
LazyBotter 188 Posted August 22, 2013 Report Share Posted August 22, 2013 When I get home I will make you a script. You can view your debugger by going to View/Debugger. Quote Link to post Share on other sites
LazyBotter 188 Posted August 22, 2013 Report Share Posted August 22, 2013 I noticed you have your add list to list the wrong way round, the starting list should be the list name %urls, and the list to add will be yourl list from file... Quote Link to post Share on other sites
Gogetta 263 Posted August 22, 2013 Report Share Posted August 22, 2013 I noticed you have your add list to list the wrong way round, the starting list should be the list name %urls, and the list to add will be yourl list from file... Good catch, I didn't even notice it! Quote Link to post Share on other sites
Chirag8520 0 Posted August 23, 2013 Author Report Share Posted August 23, 2013 (edited) I noticed you have your add list to list the wrong way round, the starting list should be the list name %urls, and the list to add will be yourl list from file...Sir i cant Undersatnd what i have to do plese sir Thanks for the help … but I am new to Ubot… can u kindly give the code for this ? Edited August 23, 2013 by Chirag8520 Quote Link to post Share on other sites
Chirag8520 0 Posted August 23, 2013 Author Report Share Posted August 23, 2013 Thanks for help..i have a another error sirI make a script for the Google Group Posting.. When i run the script first time it take a first link from .txt file when it again go in loop first display second link then immediately go for first link please sir check it and reply me...If need to change in script please change sirhttps://docs.google.com/file/d/0B_0YML_gbZqKY0VVZmY3cW1ETlE/edit?usp=sharing Quote Link to post Share on other sites
LazyBotter 188 Posted August 23, 2013 Report Share Posted August 23, 2013 Hi, What is it you are trying to do? Post a new topic or reply to all the topics on the page? 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.