Imagine
2012-02-19 10:30:59
I was just trying to test in parts…
At line 64, which is my FindObjCustom line, it says that there was an identifier expected. I'm not quite sure what to do :/.
program New;
{$i SRL\SRL.simba}
// {$DEFINE SMART}
/////// Credits to YohoJo
Const
SERVER = 61; // Enter "0" to pick a random server.
MEMBERS = False; // Set to True if using a RS-Members account. False if F2P.
SRLStats_Username = ''; // Your SRL Stats Username
SRLStats_Password = ''; // Your SRL Stats Password
NumbOfPlayers= 1; //How many players are you using
StartPlayer= 0; //Player to start auoting with! (0 means first char)
///////
procedure DeclarePlayers; //Credits to YoHoJo
var i:integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
Players[i].BoxRewards := ['mote', 'ostume', 'XP', 'oins'];
with Players[0] do
begin
Name := ''; //Player username.
Pass := ''; //Player password.
Nick := ''; //Player nickname - 3-4 letters of Player username.
Active := True;
end;
end;
///////
Var NCowsK, TXP:Integer;
///////
procedure StatsGuise(wat:String); //Credits to YoHoJo
begin
Status(wat);
Disguise(wat);
end;
function FoundCow:Boolean;
var
x, y: Integer;
begin
FindObjCustom(x, y, ['ack Co', 'ttack C'], [2896690, 6719385, 13620696, 728612], 20) then
WriteLn('Hooray, we found a cow!')
end;
begin
SetupSRL;
DeclarePlayers;
// repeat
FoundCow();
// until(false);
end.At line 64, which is my FindObjCustom line, it says that there was an identifier expected. I'm not quite sure what to do :/.