Results 1 to 4 of 4

Thread: Help fix this up..?

  1. #1
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default Help fix this up..?

    SCAR Code:
    procedure Cookit;
    begin
      Walkthere;
      MakeCompass('W')
        LowestAngle;
      KeyDown(38)
        wait(200)
        KeyUp(38)
        CheckPot;
      if FindDTM(Rawchicks, x,y,MIX1,MIY1,MIX2,MIY2) then // Looks for chicken in Inventory
      begin
        Mouse(x, y, 0, 0, True)
          AntiRandoms;
        if FindColorTolerance(x, y, 5453577, MSX1, MSY1, MSX2, MSY2, 5) or FindColorTolerance(x, y, 1610675, MSX1, MSY1, MSX2, MSY2, 5) then // Looks For Cooking Pot
        begin
          MMouse(x, y, 0, 0)
            wait(100)
            if IsUpText('pot') then
          begin
            Mouse(x, y, 0, 0, True)
              AntiRandoms;
            wait(1000)
              AntiRandoms;
            if FindColorTolerance(x, y, 11119560, 1, 1, 400, 600, 5) then // Finds The Chicken in the chat box thing
            begin
              AntiRandoms;
              Mouse(x, y, 1, 1, False)
                ChooseOption(x, y, 'All')
                if ClickToContinue then
              begin
                AntiRandoms;
                Mouse(x, y, 1, 1, False)
                  ChooseOption(x, y, 'All')
                  repeat
                  Wait(500 + random(500))
                    AntBan;
                  ClickToContinue
                until (not (FindDTM(Rawchicks, x,y,MIX1,MIY1,MIX2,MIY2)))) // Until it doesnt find a raw chicken in The inventory
              end;
            end;
          end;
        end;
      end;
    end;

    It says identifier expected in the until part,, but i thought that meant that you didnt have something that you needed? Not an end? What else could it be?

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  2. #2
    Join Date
    Jan 2007
    Location
    Uk
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well,

    until (not (FindDTM(Rawchicks, x,y,MIX1,MIY1,MIX2,MIY2))))

    should be

    until (not (FindDTM(Rawchicks, x,y,MIX1,MIY1,MIX2,MIY2)))


  3. #3
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    As said above, that would be a problem but it says unknown identifier walkthere in script. probably because you have a procedure called that, and didn't post it here so I can't really help you other wise (unless taking out that extra ")" fixed it )

  4. #4
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    ya, walkthere is a procedure. And thanks, it did work.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

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
  •