I have made my first script called "MacoHawk's Iron Skills". It is not complete yet, I still need to put in a auto dropper. But when I when to test it I got this error:
Line 11: [Error] (14357:1): Semicolon (';') expected in script
Here is my script so far:
Can some one tell me what I did wrong?Code:program New; {.include SRL/SRL.Scar} var ore:integer; const Iron = 2503764 procedure IronSkills; begin if FindColor(x,y,Iron,4,4,515,337) then MMouse(x,y,1,1) If Option2('Mine') then Mouse(x,y,1,1,true) ore := ore + 1; Wait(2000+random(800)) end; procedure AntiRandoms; begin FindNormalRandoms; end; procedure ProgressReport; begin ClearDebug; Writeln('[X]-------------------------------------------[X]');//Do any style you want Writeln('Worked For : ' + ScriptTime2(2))//Displays how long it worked for Writeln('Mined '+ IntToStr(ore) + ' ore'); Writeln('[X]--------------------------------------------[X]'); end; begin SetUpSRL; cleardebug; activateclient; repeat IronSkills; ProgressReport; until(false) end.


Reply With Quote










