here is my getbones function, and I have 2 things to ask of you all;
1) Check the script (please!)
2) I'm getting an Identifier Expected error, but I have counted time and time again, and I'm getting the right # of identifiers.
SCAR Code:Function GetBones: Boolean;
Begin
Result:=False;
Var
i, q:Integer;
coords: TPoint;
If(Not(LoggedIn))Then
Begin
Players[CurrentPlayer].Active:=False;
Exit;
End;
For q:= 0 to 1 do
Begin
For i:= 0 to 3 do
Begin
If FindObjMultiText(coords.x,coords.y,'Bones','nes','ones',BoneColor[i],20) then
Begin
Mouse(coords.x,coords.y,2,2,false);
If (PopUp('up Bones')) then
Begin
Result:=True;
Exit;
End;
End;
End;
End;
End;



Reply With Quote







