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

[HELP] Imacros Script!

Discussion in 'Making Money' started by uimacros36, Jan 18, 2015.

  1. uimacros36

    uimacros36 Newbie

    Joined:
    Jan 18, 2015
    Messages:
    5
    Likes Received:
    0
    Hi, i wanna create a imacros script that fills a registration forum and loop, how can it generate a email address and username and all that randomly ?
     
  2. Ewenement

    Ewenement Newbie

    Joined:
    May 10, 2010
    Messages:
    17
    Likes Received:
    1
    Use that code:
    SET !VAR1 EVAL("var letters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','w','x','y','z']; var string = ''; for(var i = 0; i < 10; i++){string += letters[parseInt(Math.random() * 25)]}; string")

    You can add some another letters or number
     
  3. uimacros36

    uimacros36 Newbie

    Joined:
    Jan 18, 2015
    Messages:
    5
    Likes Received:
    0
    Bump anyone here ?
     
  4. uimacros36

    uimacros36 Newbie

    Joined:
    Jan 18, 2015
    Messages:
    5
    Likes Received:
    0
    How to do that just add it or what ?
     
  5. uncutu

    uncutu Supreme Member

    Joined:
    Aug 6, 2010
    Messages:
    1,469
    Likes Received:
    689
    easiest way i find to generate those fields for imacros is with a datasource file.
    make a file called datasource.csv and fill it with your usernames (1 per line)
    add this to your script
    Code:
    SET !DATASOURCE datasource.csv
    SET !DATASOURCE_COLUMNS 1
    SET !DATASOURCE_LINE {{!LOOP}}
    TAG POS=1 TYPE=INPUT:TEXT  ATTR=NAME:username CONTENT={{!COL1}}
    TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:mail [email protected]
    
     
  6. Ewenement

    Ewenement Newbie

    Joined:
    May 10, 2010
    Messages:
    17
    Likes Received:
    1
    Code:
    SET !VAR1 EVAL("var letters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','w','x','y','z']; var string = ''; for(var i = 0; i < 12; i++){string += letters[parseInt(Math.random() * 25)]}; string")
    TAG POS=1 TYPE=INPUT:EMAIL FORM=ID:signup_form ATTR=ID:signup_email CONTENT={{!var1}}[and here some domain]
    And you have e-mail generated random from letters. You can add more letters or use a number.