Random nicknames with imacros

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
dripservice
Posts: 2
Joined: Mon Dec 16, 2013 4:25 pm

Random nicknames with imacros

Post by dripservice » Mon Dec 16, 2013 6:00 pm

Hello all
I have a problem
tell me how to use a random nicknames for registration?
Which team is responsible for it ....

Or I create a text file and place 10,000 nicknames there
how to make a macro to take a random string???

I would be grateful Thanks
BEst regards
Alex
User avatar
bobis
Posts: 364
Joined: Sat Sep 11, 2010 3:34 pm
Contact:

Re: Random nicknames with imacros

Post by bobis » Mon Dec 16, 2013 9:17 pm

here is example which will take random data from first 10 lines from file (1st column)

Code: Select all

SET !DATASOURCE C:\mysource.txt 
SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*10 + 1); randomNumber;")
SET !DATASOURCE_LINE {{!VAR1}} 
SET !var2 {{!col1}}
Get Best iMacros scripts at http://imacrosbot.com/
MooT
Posts: 15
Joined: Sat Mar 03, 2012 10:27 pm

Re: Random nicknames with imacros

Post by MooT » Fri Dec 27, 2013 1:19 am

boobi
is there a text generator ??? like randomtext;" ??? coz some sites dont allow username as all numbers !
User avatar
bobis
Posts: 364
Joined: Sat Sep 11, 2010 3:34 pm
Contact:

Re: Random nicknames with imacros

Post by bobis » Fri Dec 27, 2013 7:02 am

no there is no such thing in imacros
Get Best iMacros scripts at http://imacrosbot.com/
Trax
Posts: 43
Joined: Thu Sep 13, 2012 4:07 pm
Contact:

Re: Random nicknames with imacros

Post by Trax » Fri Dec 27, 2013 9:47 pm

It's kinda weird but I assume you could make an array with the alphabet then randomly choose 5-6 ( or how long you want the name) numbers and put the letters together :)
MooT
Posts: 15
Joined: Sat Mar 03, 2012 10:27 pm

Re: Random nicknames with imacros

Post by MooT » Sat Dec 28, 2013 11:50 am

Trax wrote:It's kinda weird but I assume you could make an array with the alphabet then randomly choose 5-6 ( or how long you want the name) numbers and put the letters together :)
any example for array in imacros ?
Post Reply