1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How To Make iMacros Loop Series Of Script!

Discussion in 'BlackHat Lounge' started by ThenNowAlways, Apr 10, 2014.

  1. ThenNowAlways

    ThenNowAlways BANNED BANNED

    Joined:
    Jul 23, 2013
    Messages:
    77
    Likes Received:
    10
    I need to Have this loop 30 times and then continue with the rest of the Macro. Anyone willing to help me? I have a paypal account :)

    SET !TIMEOUT_STEP 1
    SET !ERRORIGNORE YES
    TAB T=1

    ***LOOP 30 times***
    TAG POS=1 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=4 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=7 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=10 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=13 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=16 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=19 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=22 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=25 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=28 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=1 TYPE=A ATTR=TXT:Next<SP>Page
    ***LOOP 30 Times***

    URL GOTO=http://turntupapparel.tumblr.com
    CLICK X=16 Y=70


    ***LOOP 30 times***
    TAG POS=1 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=4 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=7 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=10 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=13 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=16 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=19 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=22 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=25 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=28 TYPE=SPAN ATTR=TXT:Follow
    TAG POS=1 TYPE=A ATTR=TXT:Next<SP>Page
    ***LOOP 30 Times***

    URL GOTO=http://turntupapparel.tumblr.com
    CLICK X=15 Y=110
     
  2. ThenNowAlways

    ThenNowAlways BANNED BANNED

    Joined:
    Jul 23, 2013
    Messages:
    77
    Likes Received:
    10
    I knew i stumped the BHW community
     
  3. ChapoGuzman

    ChapoGuzman BANNED BANNED

    Joined:
    Jun 7, 2013
    Messages:
    294
    Likes Received:
    187
    you will have to do it through javascript.

    simple way to do it is just copy, the code/macro 30 times and then then put the rest of your code. easy should have it done in less then a minute.
     
    • Thanks Thanks x 1
  4. thewierdkid

    thewierdkid Newbie

    Joined:
    Mar 27, 2014
    Messages:
    38
    Likes Received:
    16
    always go on mobile version with imacros lol
     
    • Thanks Thanks x 1
  5. chillout1989

    chillout1989 Newbie

    Joined:
    Oct 8, 2013
    Messages:
    16
    Likes Received:
    2
    You have to make a javascript file (.js)
    Then different macro files (.iim) which execute the code you want.

    If you want to execute the first code 30 times, then make a .iim file with that code and call it with your .js file with: iimPlay("yourmacro//macro")
    If you want to loop that part 30 times, just make a for loop:

    for (var i=0;i<=30;i++) {
    iimPlay("yourmacro//macro");
    }

    If you want to execute the URLGOTO command, make a macro with that code, and also call it in your .js macro:

    iimPlay("GotoURLMacro");


    Then execute the other code 30 times:

    for (var i=0;i<=30;i++) {
    iimPlay("yourmacro//secondmacro");
    }

    and so on..
     
  6. ImacrosGuy

    ImacrosGuy BANNED BANNED

    Joined:
    Apr 20, 2014
    Messages:
    56
    Likes Received:
    43
    First i would say set the useragent, it will be much easier to handle the website. No frames, no scripts :D
     
  7. Antibot

    Antibot Newbie

    Joined:
    Aug 2, 2013
    Messages:
    7
    Likes Received:
    0
    Hey do you have a script for the new Webstagram ?
    They updated the site and my script no longer works I would really appreciate it.