Results 1 to 5 of 5

Thread: Help with Scar Please

  1. #1
    Join Date
    Sep 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with Scar Please

    Im using scar script and i cannot get it to end my end with a semicolon so it reads on with the script

    const
    light2=932204;
    begin
    while (light2=932204)
    do
    {var
    x,y:integer;
    const
    light2=932204;
    begin
    findcolor(x,y,light2,372,192,396,218);
    end;}
    end. <------------------- I need to know how to make this end; without getting errors.
    var
    x,y:integer;
    const
    light1=3060196;
    begin
    if findcolor(x,y,light1,372,192,396,218)
    then SendArrowWait(0,10);
    end.

  2. #2
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Take out the first begin and the "end." (And remove the { }'s..) Should work (or at least compile).

  3. #3
    Join Date
    Mar 2006
    Location
    Behind you
    Posts
    3,194
    Mentioned
    61 Post(s)
    Quoted
    63 Post(s)

    Default

    Please Use Tags next time. It makes things easier to read and help with.

    ~BraK

    "Sometimes User's don't need the Answer spelled out with Code. Sometimes all they need is guidance and explanation of the logic to get where they are going."

  4. #4
    Join Date
    Mar 2008
    Location
    In a cave
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think you need some guidance about Scar/Simba(/PascalScript) syntax.

    Here's a nice tutorial for you
    A Chinese wiseman once said: "Shu ciu!", it was considered very smart, but now people know it means: "Something stinks here!"
    FalBuggySmelter v.1.31
    [Updated on the 1st of March 2010]
    RimmBugger BETA V1.8

  5. #5
    Join Date
    Mar 2006
    Location
    Behind you
    Posts
    3,194
    Mentioned
    61 Post(s)
    Quoted
    63 Post(s)

    Default

    [OffTOPIC]Lol Bugger I was wondering why I saw you digging around the Beginner's Tutorial's. [/OFFTOPIC]

    There are a lot of good tutorial's out there that will cover the Basics. Look Around and see what you can find here.

    "Sometimes User's don't need the Answer spelled out with Code. Sometimes all they need is guidance and explanation of the logic to get where they are going."

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
  •