Ok i have a somewhat goodscript that im pretty much finished with except i keep getting a problem when i try and use it. the problem is:
Unknown identifier 'HandleTrade' in script
do u know how to help me? plz help!!!!!![]()
Ok i have a somewhat goodscript that im pretty much finished with except i keep getting a problem when i try and use it. the problem is:
Unknown identifier 'HandleTrade' in script
do u know how to help me? plz help!!!!!![]()
add:
SCAR Code:{.include SRL/SRL/Misc/Trade.scar}
to you're script. under program.
so like:
SCAR Code:program New;
{.include srl/srl.scar}
{.include SRL/SRL/Misc/Trade.scar}
ty very much
1 more problem b4 u leave
i have a problem called
'BEGIN' expected in script![]()
its in anti-randoms too this is how it is set-up:
SCAR Code:Function FindFastRandoms: Boolean;
Var
i: Integer;
Begin
For I := 1 To 11 Do
Begin
Case I Of
1: If FindDead Then
DeathWalk;
2: If FindMod Then
Result := True;
3: If FindMime Then
Result := True;
4: If FindMaze Then
Result := True;
5: If FindQuiz Then
Result := True;
6: If FindDemon Then
Result := True;
7: Begin
If NoGameTab Then
Begin
Result := True;
Players[CurrentPlayer].loc := 'No GameTab';
Logout;
Exit;
End;
End;
8 : If RC Then
Result := True;
9 : If FindFight Then
Begin
Result := True;
RunTo(RunDir, True);
End;
10: If FindTalk Then
Result := True;
11: If HandleTrade Then
Result := True;
12: If InBlack then
begin
Result :=true;
Players[CurrentPlayer].loc := 'InBlack';
Logout;
Exit;
end;
end;
end;
End;
Wait(1); {<<<---------right here}
End;
you have to much ''End''s.
SCAR Code:Function FindFastRandoms: Boolean;
Var
i: Integer;
Begin
For I := 1 To 11 Do
Begin
Case I Of
1: If FindDead Then
DeathWalk;
2: If FindMod Then
Result := True;
3: If FindMime Then
Result := True;
4: If FindMaze Then
Result := True;
5: If FindQuiz Then
Result := True;
6: If FindDemon Then
Result := True;
7: Begin
If NoGameTab Then
Begin
Result := True;
Players[CurrentPlayer].loc := 'No GameTab';
Logout;
Exit;
End;
End;
8 : If RC Then
Result := True;
9 : If FindFight Then
Begin
Result := True;
RunTo(RunDir, True);
End;
10: If FindTalk Then
Result := True;
11: If HandleTrade Then
Result := True;
12: If InBlack then
begin
Result :=true;
Players[CurrentPlayer].loc := 'InBlack';
Logout;
Exit;
end;
end;
End;
Wait(1); {<<<---------right here}
End;
how do i fix it? This is actually my first script I'm going to post
nvm i didnt see the post right lol
ty soooo much i love u..... not in the gay way though
....more like a brother
.....well I'm going to put u in the credits anyway.
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)