What's wrong with this SCAR script?

Discussion in 'Scar/Simba Help' started by Phoenixsage, May 2, 2010.

What's wrong with this SCAR script?
  1. Unread #1 - May 2, 2010 at 10:06 PM
  2. Phoenixsage
    Joined:
    May 2, 2010
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0

    Phoenixsage Newcomer

    What's wrong with this SCAR script?

    Here's the script verbatim:

    program Cursebot;
    var
    x, y: Integer;
    begin
    repeat;
    clickmousebox(1035,317,1045,329,true);
    if(FindColor(x, y, 3423400,329,3,840,338))then;
    ClickMousebox(x, y,x+1,y+1, true);
    wait(x+600);
    else(clickmousebox(1074,2,1086,16,true), clickmousebox(908,367,1027,385,true));
    until(iskeydown('\'));
    end.

    When attempting to run this script, I get the usual generic SCAR error saying "Failed when compiling
    Line 13: [Error] (13:1): Identifier expected in script C:\Program Files\SCAR 3.22\Scripts\cursebot.scar"

    Any help would be appreciated, I apologize for my possibly confusing scripting style.
     
  3. Unread #2 - May 2, 2010 at 11:31 PM
  4. Alteranz
    Joined:
    Nov 11, 2008
    Posts:
    5,076
    Referrals:
    2
    Sythe Gold:
    0

    Alteranz Hero
    Zombie Angelic Retired Global Moderator

    What's wrong with this SCAR script?

    Wrong section, moved it for you.
     
  5. Unread #3 - May 8, 2010 at 8:04 PM
  6. beesafree
    Joined:
    Apr 24, 2010
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    beesafree Newcomer

    What's wrong with this SCAR script?

    well, the first thing you are missing is good standards
    anyways.... your missing a few things
    a few begins an end else.....
    and you overuse the ";" in your script

    here is what i think you want:
    Code:
    program Cursebot;
    
    var
    x, y: integer;
    
    begin
      repeat
        clickmousebox(1035,317,1045,329,true)
        if(FindColor(x, y, 3423400,329,3,840,338))then
        begin
          ClickMousebox(x, y,x+1,y+1, true)
          wait(x+600)
        end else
        begin
          clickmousebox(1074,2,1086,16,true)
          clickmousebox(908,367,1027,385,true)
        end;
      until(iskeydown('\'));
    end.
     
< Best in selling dumps bank logins cc fullz paypal mailer | Help please >

Users viewing this thread
1 guest


 
 
Adblock breaks this site