Results 1 to 2 of 2

Thread: Identifier expected WTF?

  1. #1
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Identifier expected WTF?

    I get this error when i run my test script:

    Line 22: [Error] (18649:1): Identifier expected in script C:\Program Files\SCAR 2.03\Scripts\NEW.scar
    Here is the script:

    program Test;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/Skill/Mining.scar}
    var mine:integer;

    const
    claycolor=7515081;

    procedure mineclay;
    begin
    if(FindColorSpiralTolerance(x,y,clayColor,5,5,514 ,337,2))then
    movemousesmooth(x,y)
    wait(100)
    begin
    MakeCompass('N');
    getmousepos(x,y)
    clickmouse(x,y,true)
    wait(3000+1000)
    repeat
    mineclay;
    until(InvFull);
    Procedure jugclaywater;
    begin
    end.
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  2. #2
    Join Date
    Nov 2006
    Location
    California, USA
    Posts
    336
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    program Test;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/Skill/Mining.scar}

    const
      ClayColor = 7515081;

    procedure MineClay;
    begin
      if (FindColorSpiralTolerance(x, y, clayColor, 5, 5, 514, 337, 2)) then
      begin
        MMouse(x, y, 0, 0);
        Wait(100);
        MakeCompass('N');
        GetMousePos(x,y);
        Mouse(x, y, 0, 0, true);
        Wait(3000 + Random(1000));
      end;
    end;

    begin
      repeat
        MineClay;
      until(InvFull);
    end.

    Be sure to close every begin you open.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Identifier Expected
    By Torrent of Flame in forum OSR Help
    Replies: 9
    Last Post: 02-23-2008, 01:21 PM
  2. Identifier expected
    By badandymitch in forum OSR Help
    Replies: 4
    Last Post: 05-31-2007, 11:57 PM
  3. Identifier Expected
    By PwNZoRNooB in forum OSR Help
    Replies: 5
    Last Post: 05-03-2007, 07:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •