Results 1 to 2 of 2

Thread: help?

  1. #1
    Join Date
    Oct 2008
    Posts
    90
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default help?

    program New;

    {.include SRL/SRL.Scar}


    var
    X, Y, a :integer;


    procedure clearvar;
    begin
    setupsrl
    Wait (5000)
    MakeCompass('N');
    a:=0;
    end;

    procedure walkbank;
    begin;
    If FindSymbol(X, Y, 'bank') Then
    begin
    SetRun(True)
    MMouse(x, y, 5, 5);
    wait(100+random(50));
    Mouse(x, y, 1, 1, true);
    wait(3000+random(1000))
    wait(2000+random(500))
    end;


    begin
    clearvar;
    walkbank



    end.

    i get error:

    Failed when compiling
    [Error] (16531:4): Identifier expected

    anyone know why?

  2. #2
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Here...
    SCAR Code:
    program New;
    {.include SRL/SRL.Scar}
    var
      X, Y, a :integer;

    procedure clearvar;
    begin
      Wait(5000)
      MakeCompass('N');
      a:=0;
    end;

    procedure walkbank;
    begin;
      If FindSymbol(X, Y, 'bank') Then
      begin
        SetRun(True)
        MMouse(x, y, 5, 5);
        wait(100+random(50));
        Mouse(x, y, 1, 1, true);
        wait(3000+random(1000))
        wait(2000+random(500))
      end;
    end;

    begin
      setupsrl;
      clearvar;
      walkbank;
    end.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

Thread Information

Users Browsing this Thread

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

Posting Permissions

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