Semicolon error

Discussion in 'Scar/Simba Help' started by xfuzzy chaos, Feb 20, 2008.

Semicolon error
  1. Unread #1 - Feb 20, 2008 at 5:15 PM
  2. xfuzzy chaos
    Referrals:
    0

    xfuzzy chaos Guest

    Semicolon error

    Ok i have the latest version of SCAR and srl 4 but whenever i try to run a script i get this: Line 4: [Error] (4:1): Semicolon (';') expected in script.
    But var is on that line and i didnt think that you needed a semicolon on that. it also says this on lines that alredy have the semicolon.

    anyone know how to fix this?
     
  3. Unread #2 - Feb 20, 2008 at 9:02 PM
  4. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    Semicolon error

    Post the line.
     
  5. Unread #3 - Feb 21, 2008 at 2:04 AM
  6. Xjaa
    Joined:
    Jan 21, 2007
    Posts:
    3,248
    Referrals:
    2
    Sythe Gold:
    0
    Lawrence Potamus

    Xjaa Penguin
    $100 USD Donor

    Semicolon error

    be sure to use (w/e)_;

    _ =space
     
  7. Unread #4 - Feb 21, 2008 at 4:13 AM
  8. TDD
    Joined:
    Nov 20, 2005
    Posts:
    3,191
    Referrals:
    2
    Sythe Gold:
    0

    TDD Web Design Expert
    Do Not Trade

    Semicolon error

    var yourfaggynamehere:variabletype; anotherfaggyname:variabletype;

    etc.
     
  9. Unread #5 - Feb 22, 2008 at 6:11 PM
  10. Xjaa
    Joined:
    Jan 21, 2007
    Posts:
    3,248
    Referrals:
    2
    Sythe Gold:
    0
    Lawrence Potamus

    Xjaa Penguin
    $100 USD Donor

    Semicolon error

    different lines?
     
  11. Unread #6 - Feb 22, 2008 at 8:57 PM
  12. TDD
    Joined:
    Nov 20, 2005
    Posts:
    3,191
    Referrals:
    2
    Sythe Gold:
    0

    TDD Web Design Expert
    Do Not Trade

    Semicolon error

    doesn't need to, the semicolon signifys the end of the line, so it considers the next part to be another var declaration.
     
  13. Unread #7 - Feb 22, 2008 at 9:07 PM
  14. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    Semicolon error

    But for neater var you have to separate them:
     
  15. Unread #8 - Feb 22, 2008 at 11:39 PM
  16. Xjaa
    Joined:
    Jan 21, 2007
    Posts:
    3,248
    Referrals:
    2
    Sythe Gold:
    0
    Lawrence Potamus

    Xjaa Penguin
    $100 USD Donor

    Semicolon error

    yeah, Generally neater is better

    Code:
    begin
     begin
      begin
      end
     end
    end
     
  17. Unread #9 - Feb 23, 2008 at 5:11 AM
  18. TDD
    Joined:
    Nov 20, 2005
    Posts:
    3,191
    Referrals:
    2
    Sythe Gold:
    0

    TDD Web Design Expert
    Do Not Trade

    Semicolon error

    neatness is bullshit, if you can't understand some code by reading it, you shouldn't be coding.

    Code:
    var begin begin
    codingshithere
    end end end.
     
  19. Unread #10 - Feb 23, 2008 at 1:09 PM
  20. redsk8r
    Referrals:
    0

    redsk8r Guest

    Semicolon error

    ive never got a scar script to work..
     
  21. Unread #11 - Jun 1, 2008 at 12:46 PM
  22. leorules123
    Referrals:
    0

    leorules123 Guest

    Semicolon error

    Plz figure out my script

    Here is the error:

    Line 23: [Error] (23:1): Semicolon (';') expected in script C:\Program Files\SCAR 3.15\Scripts\My Autoers\AutoRunecrafter.scar

    Here is the script:

    program AutoRunecrafter;

    var
    x,y: Integer;

    const
    ShopKeeperColor = 2836585;

    procedure ClickEss;

    begin

    MoveMouse(577,229);
    Wait(300);
    ClickMouse(577,229,true);

    end;
    procedure UseEssWithShopKeeper;

    begin

    22.if(FindColor(x,y,ShopKeeperColor,0+random(10000),0+random(10000),0+random(10000),0+random(10000))) then;
    23.MoveMouse(x,y+random(10000),0+random(10000),0+random(10000),0+random(10000),0+random(10000),0+random(10000);
    24.Wait(300);
    25.ClickMouse(x,y,true);

    end.

    //to be finished//
     
< Draynor WCer Help | How To Use the MakeCompass Function >

Users viewing this thread
1 guest


 
 
Adblock breaks this site