Results 1 to 3 of 3

Thread: Identifier expected in script

  1. #1
    Join Date
    Jun 2007
    Location
    Liverpool ,Nsw,Australia
    Posts
    740
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Identifier expected in script

    SCAR Code:
    procedure chopdemwillows;
    begin
     if not Loggedin then Exit;
     repeat
     if FindObjTPA(x, y, 2653292, 20, -1, 10, 10, 20, ['illo']) then
     Mouse(x, y, 5, 5, True);
     wait(3000);

     if (not(FindObjTPA(x, y, 2653292, 20, -1, 10, 10, 20, ['illo']))) then

     begin
        Logout;
       writeln('Cant find willows');
      Exit;
      end;
    end;

    Identifier expected in script

    anybody help?
    Quote Originally Posted by Darkmage View Post
    I got 2 questions'
    #1. When i run the script will it automatically pick up the mouse and move?

  2. #2
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    you have a repeat (4th line) but no until Also, you need to add a begin and end to your first if ... then to make it Mouse and Wait
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  3. #3
    Join Date
    Jun 2007
    Location
    Liverpool ,Nsw,Australia
    Posts
    740
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks your quick i just realised that lol i dont know what i was thinking when i wrote it....well i suppose its 10:00 pm where i am
    Quote Originally Posted by Darkmage View Post
    I got 2 questions'
    #1. When i run the script will it automatically pick up the mouse and move?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Identifier expected in script...But Why?
    By Macrosoft in forum OSR Help
    Replies: 10
    Last Post: 01-27-2012, 06:33 AM
  2. Bah!! Identifier Expected in Script.
    By siroober in forum OSR Help
    Replies: 3
    Last Post: 05-03-2008, 11:46 PM
  3. Identifier expected in script
    By Becks in forum OSR Help
    Replies: 6
    Last Post: 04-11-2008, 06:41 AM
  4. Identifier expected in script
    By wasapiguy2 in forum OSR Help
    Replies: 2
    Last Post: 03-25-2008, 09:57 AM
  5. Identifier expected in script?
    By steth1010 in forum OSR Help
    Replies: 6
    Last Post: 05-06-2007, 09:03 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
  •