Results 1 to 7 of 7

Thread: Identifier Expected?

  1. #1
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default Identifier Expected?

    I can't for the life of me figure out what identifier I'm missing, I've used this script before and it was flawless but now I get, "[Error] C:\Users\(92:67): Identifier expected at line 93"
    the error takes place in this chunk of code;
    Line 93 is the line after End;

    Simba Code:
    Procedure RunToRocks;
    var
      x, y, ToRocksTime:Integer;
    Begin
      Mouse(588, 81, 0, 0, true);
        MarkTime(ToRocksTime);
          Repeat
            Wait(100);
          Until(Not (IsRunning)) or (TimeFromMark(ToRocksTime) > 7500));
    End;

  2. #2
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

  3. #3
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    you sure its not further up?
    Yes because when I delete that procedure the script compiles :\

  4. #4
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    1,011
    Mentioned
    50 Post(s)
    Quoted
    505 Post(s)

    Default

    Your parentheses in the until case don't add up

    and your formatting is horrible
    Last edited by Citrus; 04-19-2016 at 03:21 AM.

  5. #5
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by Citrus View Post
    Your parentheses in the until case don't add up

    and your formatting is horrible
    Yeah I noticed that just a couple of minutes ago and fixed it.

    And my formatting is perfect and clean, tf u mean

  6. #6
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by Spotify View Post
    Yeah I noticed that just a couple of minutes ago and fixed it.

    And my formatting is perfect and clean, tf u mean
    Simba Code:
    Procedure RunToRocks;
    var
      x, y, ToRocksTime:Integer;
    Begin
      Mouse(588, 81, 0, 0, true);  //This will always click exact same pixel
      MarkTime(ToRocksTime);
      Repeat
        Wait(100);
      Until(Not (IsRunning)) or (TimeFromMark(ToRocksTime) > 7500));
    End;


  7. #7
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Simba Code:
    Procedure RunToRocks;
    var
      x, y, ToRocksTime:Integer;
    Begin
      Mouse(588, 81, 0, 0, true);  //This will always click exact same pixel
      MarkTime(ToRocksTime);
      Repeat
        Wait(100);
      Until(Not (IsRunning)) or (TimeFromMark(ToRocksTime) > 7500));
    End;

    It's for a private server so randomness isn't needed

    And it does look a little cleaner with that format xD

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
  •