Jump to content
UBot Underground

Search the Community

Showing results for tags 'define'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Announcements and News
    • Join the UBot Community
    • News
  • General
    • General Discussion
    • Mac and UBot Studio
    • Journeys
    • Buy, Sell, Free
    • Scripting

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 16 results

  1. Hey there, I posted this on the Skype group last month, but figured this would be a better place to give it away. Nothing ground breaking, but below are two defines that I made for returning random user agents and referrers for an HTTP bot project I was working on. I figured I could give this back to the group in hopes that it might save someone some work. These are popular user agent strings at the moment and the common referrers list you see below I pulled from actual analytics data. Anyways, free for you to use. Hope it helps someone out :-) define $randomUserAgent { add list to list(%
  2. Hey there While finishing the first bot, i am running in more and more problems. Most of my defines will be fired by a button (html ui). But they run not completely through. I do not get the last alerts. In this example the #CollectorStatus will not be set, which i would like to use as an indicator of success or not. This is a search and collect profiles function. define gosearch { wait for browser event("DOM Ready","") navigate("https://www.xing.com/search/members?keywords={#search}","Wait") wait(4) loop(2) { set(#CollectorStatus,"<div class=\"alert alert-pri
  3. I've got 7 script tabs in one wildly unruly bot, with 7 different unruly interfaces. I want to bring it all together neatly and efficiently, and then conquer the internet. I gather that using defines, along with include, is the way to achieve this. My problem is that I don't understand what parameters are and or how they work in regards to this situation. I've been googling for the last couple of hours, and I'm coming up a little short. I've broken my code down into Defines, I can call the Defines as long as they're in the same bot. But trying to include them in another bot doesn't work.
  4. Hey ya'll. I have been working on a bot... It didn't save properly, so I'm starting over. The custom commands I created were saved, and they are in the ubot database. However, I am wondering if they would work on a new bot, if I do not add the "define {custom-command-name}" script above/before the actual custom command. Does anyone know? Also, would the custom commands be saved and available for me if I were to create a whole new bot? Thanks in advance! ~Omar
  5. Any one know how to stop any and all define commands that would be running.. buy using a button in the UI Editor. 1. I am running many define commands in the ui panel. 2. Once I click on one I would like a way to stop it if I can. Most of the time I would like to keep it running but would like to Stop any define commands from running sometimes.. Can any one send me down the right path Thanks... Remember I am using the UI editor on this one... I'm Tired of trying to wrap my head around this one lol.... Nothing seems to work....
  6. Guys i am having a small issue with Alert Command see i already created a stable working bot it all work thing i i would like users to know when some process is done this is a small part of the code its pretty basic stuff. ui text box("Username", #Username) ui text box("Password", #Password) define Login to Your Account { navigate("www.gramfeed.com", "Wait") wait(4) if($exists(<outerhtml="<img src=\"/Instagram_signin.png\" border=\"0\">">)) { then { click(<outerhtml="<a class=\"link\" onclick=\"logOauth(0)\" href=\"/oauth/login\"><img s
  7. Hello everyone, I'm new here ... I would like to help with a command "define". I have a button on a html panel, which runs a script of a "define". what happens is that the first time I press the button, everything is perfect, however when I press the button again it does not run correctly, I do not know if I need to stop the script with a "return" or if there is a command to reset the define ?, is some kind of cache? I do not know what else to do.
  8. This is Ubot Day 5 for me! My first bot made a lot of progress yesterday thanks to what I've learned from this forum, now I've run into another problem I haven't been able to figure out. I'm working with Twitter. There are Javascript buttons and dropdown menus that need clicked. I'm experimenting with changing the attributes of selected elements (I don't understand best practices here). I've also experimented with using the click image option. Through a combination of those things, in a DEFINE, I can click through and it does what it's intended to do. In this case, it's to start from the a
  9. Hey guys, I have read through a bunch of threads on list/variable scope and multi-threading but still can't figure this out. I have 3 .txt lists (c:\list1.txt, c:\list2.txt, c:\list3.txt) each with 20 items, list1.txt is user1-1 to user1-20, list2.txt is user2-1 to user2-20 and so on... I'm incrementing and passing the IDMARKER variable to the define function so it loads list{IDMARKER}.txt each time the function is called which seems to be working correctly, however when i return the list %templist from the function to the main body of the bot it either overwrites the existing %locallilst
  10. Hey all, Just a quick tip or tutorial,I guess this has been covered somewhere,and probably in more detail,if it has please leave a comment showing where,and I will close this thread,just done a quick search for callback function on ixquick,no results Wrong Way and the Right Way of creating Callback functions ie piloting your code from top to bottom or bottom to the top To save extra loops,and as a new user you have probably come across the following dilemma, Problem your script is near the end and if something you require happens you want the script to go back to the beginning,or most im
  11. I decided to test out the thread command. When I run the script below it seems to work okay. Watching the Debug window show the #i variable is the same as the %zlist list. But, when I run script several times in quick succession I notice some time there is a discrepancy See the attached image. As you can see the code is very simple so there doesn't seem to be much room for error, but obviously I am doing something wrong, somewhere .... OR ... is it that the thread command isn't working right? clear list(%zlist) set(#i, 0, "Global") loop(20) { loop(5) { runMe(#i) increm
  12. Hello again, I have a problem I have a bot that is fairly large, with about 5 tabs each tab has it's own action like searching and following, and a different tab would be Searching and liking, I have taken the code in each tab and put it into define commands and then run a single UI from one tab hiding the rest of them, each tab also has error handling through out the code, and I have placed all the error handling in it's own tab and in define commands also to not clutter up the main code. So I end up running Define From Define From Define and now the bot just stops working after a while for n
  13. Ok, I am creating a define command for a series of steps that I always repeat in my bot..involving : wait : so bewtween 0 and 15 seconds & wait for browser event everything loaded So now when I type and drag my custom command it gives me a field box with my custom command name. So if I put 1...is that number of cycles or seconds that this command will run ...? I have defined the number of seconds already...so I am confused....
  14. Hello Experts, Can someone help me to write a script to run my below command, Basically My idea is I will place a button in html code using <input type="button" value="Clear Temp"> ; and i want to run below code/define through this button. define ClearTemp(#ClearTmp) { clear table(&Datatbl) clear list(%Scrap) clear table(&downtble) } though i want to use this button for some more functions. But this time I want to use this to clear some variables. Thanks
  15. Hey all, I have a bot which I'm building for resale which goes through signup and posting at various sites. Because sites frequently change their signup process (in order to frustrate botters like us, haha) I'm anticipating having to release updates fairly frequently. What I'm wondering is if there is a way to call a define command from an external file? So for example I code my bot like this: Define sign-up at site A Define sign-up at site B Define sign-up at site C Then run all those custom commands depending on what the user has selected. So what I was thinking was that if site B
  16. I appreciate the help everyone has given me so far. I've been trying to re-create a bot that I saw, that I know was written in ubot. It basically logs into addmefast and starts watching videos. Everything works with the UI now (it was the / that was killing it). But... I broke everything up into subroutines to make it modularized. And now... it does the first routine (login) and then ends... I put an alert at the beginning of the login sub... it fires... it then runs the script and logs in... then it pops another alert at the end of the routine... but that's all. I've attached t
×
×
  • Create New...