SET !ERRORIGNORE YES macro = "CODE:"; macro +='SET !TIMEOUT_STEP 3' + '\n'; macro +='SET !TIMEOUT_TAG 3' + '\n'; macro +='SET !DATASOURCE uidfb.txt' + '\n'; macro +='SET !DATASOURCE_COLUMNS 1' + '\n'; macro +='SET !DATASOURCE_LINE {{loop}}' + '\n'; macro +='URL GOTO=https://m.facebook.com/{{!COL1}}' + '\n'; macro +='SEARCH SOURCE=REGEXP:"Members .([0-9]+)" EXTRACT="$1"' + '\n'; macro +='TAG POS=1 TYPE=TD ATTR=TXT:"Add Friend" EXTRACT=TXT' + '\n'; macro +='WAIT SECONDS=1'; add = "CODE:"; add +='SET !TIMEOUT_STEP 1' + '\n'; add +='SET !TIMEOUT_TAG 3' + '\n'; add +='TAG POS=1 TYPE=A ATTR=TXT:AddFriend' + '\n'; add +='WAIT SECONDS=1' + '\n'; add +='SEARCH SOURCE=TXT:"Cancel"' + '\n'; add += "TAG POS=2 TYPE=INPUT:SUBMIT FORM=ACTION:* ATTR=*" + '\n'; add +='WAIT SECONDS=1'; cek = "CODE:"; cek +='SEARCH SOURCE=REGEXP:"Members .([0-9]+)" EXTRACT="$1"' + '\n'; do { iimPlay(macro); var fl=iimGetLastExtract(1); var addf=iimGetLastExtract(2); var addfr="Add Friend"; iimSet("loop",i); iimDisplay("loop ke-"+i+ "\nFriendlist : "+fl+ "\nrequest ke : "+mr+"\nMax Request : "+maxreq+"\nMax Loop : "+maxloop ); if(fl>friend && addf==addfr && fl