Results 1 to 5 of 5

Thread: Error??

  1. #1
    Join Date
    Jul 2007
    Posts
    184
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Error??

    procedure drop;
    begin
    if(InvFull)then
    DropTo(2,28);
    until (false);
    end;
    end.

    im trying to use this in my script and it keeps coming up with this error.

    Failed when compiling
    Line 32: [Error] (14846:1): Identifier expected in script

    My first script soo lmao

  2. #2
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    SCAR Code:
    procedure drop;
    begin
      if(InvFull)then
        DropTo(2,28);
    end;
    Interested in C# and Electrical Engineering? This might interest you.

  3. #3
    Join Date
    Jul 2007
    Posts
    184
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default kk

    i did that at first but wanted to have
    until(false); but o well

  4. #4
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    By the way you've kinda got a main loop 'end.' a tthe end of a procedure, you'll probably need more help than just what smartz posted.

    SCAR Code:
    program Drop;

    {.include SRL/SRL.scar}

    procedure drop;
    begin
      if(InvFull)then
        DropTo(2,28);
    end;

    begin
    SetupSRL;
    ActivateClient;
    wait(2000);
     if GameTab(4) then
      repeat  
       wait(5000);  
       drop;
     Until false;
    end.

  5. #5
    Join Date
    Jul 2007
    Posts
    184
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default kk

    ive added that to my script now i doesnt even
    writeln(' PLEASE COULD YOU POST ANY IDEAS I COULD ADD')
    in any more please help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Line 135: [Error] (14845:1): Syntax error in script
    By AbsTrACt'^.| in forum OSR Help
    Replies: 16
    Last Post: 05-23-2008, 01:14 PM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  3. Smart error and Some kind of Math.scar error
    By FagetHax0r in forum OSR Help
    Replies: 6
    Last Post: 02-24-2008, 10:43 AM

Posting Permissions

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