Results 1 to 4 of 4

Thread: need help with first script

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

    Default need help with first script

    i keep getting an error that says line 16: [Error] (14465:26): Identifier expected in script heres part of the script
    Line 14: if (isuptext('age')) then
    Line 15: Mouse (x, y, 5, 5, True) and Result := true
    Line 16: if(FoundFishingColor = true)then
    Line 17: MakeCompass('N')
    Line 18: WriteLn('Found Fishing Spot')

    any help would be appreciated i looked at jads tut on how to fix errors and didnt find out how to fix this one

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

    Default

    This should work, replace line 14 - 18 with this:

    SCAR Code:
    if (IsUpText('age')) then
    begin
      Mouse (x, y, 5, 5, True);
      Result := True;
    end;
    if (FoundFishingColor = True) then
    begin
      MakeCompass('N');
      WriteLn('Found Fishing Spot');
    end;

  3. #3
    Join Date
    Jun 2007
    Posts
    246
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NinjaTerrorist View Post
    This should work, replace line 14 - 18 with this:

    SCAR Code:
    if (IsUpText('age')) then
    begin
      Mouse (x, y, 5, 5, True);
      Result := True;
    end;
    if (FoundFishingColor = True) then
    begin
      MakeCompass('N');
      WriteLn('Found Fishing Spot');
    end;
    awesome!!! thanks a million

  4. #4
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this will prolly work
    SCAR Code:
    if (IsUpText('age')) then
    begin
      Mouse (x, y, 5, 5, True);
      Result := True;
    end;
    if (FoundFishingColor = True) then
    begin
      MakeCompass('N');
      WriteLn('Found Fishing Spot');
    end;

    gee, wonder where i got that from?
    Originally Posted by YoHoJo
    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
  •