Results 1 to 4 of 4

Thread: I Need help with my first script...(BE AWARE IM A SUPER NOOB)

  1. #1
    Join Date
    Aug 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default I Need help with my first script...(BE AWARE IM A SUPER NOOB)

    Hello i have a problem with my script i try to run it but every time i use it with the rs client in browser it cant compile because of the ( in begin???

    Simba Code:
    program ratkiller;

    procedure RatKillerPro;
    var
      x, y: Integer
    begin//this is where i get the error"[Error] (7:1): Semicolon (';') expected at line 6 Compiling failed."
      if FindColorSpiralTolerance(x, y, 3159351, 523, 108, 11, 438) or
      FindColorSpiralTolerance(x, y, 4277060, 523, 108, 11, 438) then
      begin
        MoveMouse(x, y);
        ClickMouse(x, y, 1);
        Wait(100000);
      end;
    end;

    begin
      RatKillerPro;
    end;
    Last edited by darkgod153; 08-24-2012 at 11:39 PM.

  2. #2
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Please don't post multiple topics.

    Make the last end this:
    Simba Code:
    end.

    You have a semicolon

  3. #3
    Join Date
    Aug 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks for that i didnt notice but i still get the error.... and srry for the double post i dont know how to delete the other one

  4. #4
    Join Date
    Mar 2008
    Posts
    426
    Mentioned
    1 Post(s)
    Quoted
    116 Post(s)

    Default asdfasd

    When you get something like error"[Error] (7:1): Semicolon (';') expected at line 6 Compiling failed."

    Look at the line above, below, around line 6.

    It's telling you it thinks there should be a ; somewhere..

    ; belong at the end of most things.. ..

    var
    x, y: Integer

    should be

    var
    x, y: Integer;

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
  •