Results 1 to 2 of 2

Thread: Where Is?

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

    Default Where Is?

    Where is the Trade Screen procedure? In AntiRandoms? I'm wondering cuz i want to remake it into a duel screen one.

    function Duel: Boolean;
    begin
    If (findcolorTolerance(x, y, 12926 , MCX1, MCY1, MCX2, MCY2, 25)) Then
    Begin
    MMouse(x, y, 3, 3);
    Mouse(x,y,3,3, True);
    Result := True
    End;
    else//<---- That's line 17
    Begin
    WriteLn('OMFG It''s False');
    Result := False;
    End;
    End;

    Whats wrong with that?

    Giving me this:

    Line 17: [Error] (15515:1): Identifier expected in script C:\Program Files\SCAR 2.03\Scripts\Duler.scar

  2. #2
    Join Date
    Oct 2006
    Posts
    500
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    function Duel: Boolean;
    begin
    If (findcolorTolerance(x, y, 12926 , MCX1, MCY1, MCX2, MCY2, 25)) Then
    Begin
    MMouse(x, y, 3, 3);
    Mouse(x,y,3,3, True);
    Result := True
    End; //<---you dont need a ; . Its causing the errors
    else//<---- That's line 17
    Begin
    WriteLn('OMFG It''s False');
    Result := False;
    End;
    End;
    trade screen procedure is in misc-->trade.scar

    hope that helped

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
  •