dori92
Regular Member
- Aug 6, 2013
- 477
- 195
Hey everyone.Today i made a simple imacros bot to join facebook groups from a list.
First you need to install Firefox and Imacros.
Go to C:\Users\xxx\Documents\iMacros\Datasources and create a txt file and put your groups url one for line.Like this
To join a random group from the list you need this code.
If you wan to join groups one by one in line just change {{!VAR2}} with {{!LOOP}}
Imacros Code
Javascript Code (change the blue number with number of loops u want.)
The red numbers are random seconds delay from 16 to 45 seconds.The green numbers are the number of groups you have in the txt file list.
Enjoy
First you need to install Firefox and Imacros.
Go to C:\Users\xxx\Documents\iMacros\Datasources and create a txt file and put your groups url one for line.Like this
To join a random group from the list you need this code.
If you wan to join groups one by one in line just change {{!VAR2}} with {{!LOOP}}
Imacros Code
Code:
VERSION BUILD=8920312 RECORDER=FX
SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*[COLOR=#ff0000]180+ 60[/COLOR]); randomNumber;")
SET !VAR2 EVAL("var randomNumber=Math.floor(Math.random()*[COLOR=#00ff00]1534+ 1[/COLOR]); randomNumber;")
SET !ERRORIGNORE YES
SET !DATASOURCE [COLOR=#b22222]groups.txt[/COLOR]
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!VAR2}}
URL GOTO = {{!COL1}}
TAG POS=2 TYPE=A ATTR=TXT:Join<SP>Group
WAIT SECONDS={{!VAR1}}
Code:
var macro1 = "CODE:";
macro1 += "VERSION BUILD=8920312 RECORDER=FX" + "\n";
macro1 += "SET !VAR1 EVAL(\"var randomNumber=Math.floor(Math.random()*[COLOR=#ff0000]180 + 60[/COLOR]); randomNumber;\")" + "\n";
macro1 += "SET !VAR2 EVAL(\"var randomNumber=Math.floor(Math.random()*[COLOR=#00ff00]1534+ 1[/COLOR]); randomNumber;\")" + "\n";
macro1 += "SET !ERRORIGNORE YES" + "\n";
macro1 += "SET !DATASOURCE [COLOR=#b22222]groups.txt[/COLOR]" + "\n";
macro1 += "SET !DATASOURCE_COLUMNS 1" + "\n";
macro1 += "SET !DATASOURCE_LINE {{!VAR2}}" + "\n";
macro1 += "URL GOTO = {{!COL1}}" + "\n";
macro1 += "TAG POS=2 TYPE=A ATTR=TXT:Join<SP>Group" + "\n";
macro1 += "WAIT SECONDS={{!VAR1}}" + "\n";
macro1 += "" + "\n";
macro1 += "" + "\n";
for (i = 0; i < [COLOR=#0000ff]30[/COLOR]; i++)
{
iimPlay(macro1);
}
The red numbers are random seconds delay from 16 to 45 seconds.The green numbers are the number of groups you have in the txt file list.
Enjoy