FuruChan
2011-02-08 00:39:41
procedure SetupMineRocks;
var
X, Y, i: integer;
RockColor: array[0..3] of integer;
begin
if (RockType = 'iron') then
writeln('Mining iron ore.');
RockColor[0]:=0;
RockColor[1]:=0;
RockColor[2]:=0;
RockColor[3]:=0;
else
if (RockType = 'tin') then
writeln('Mining tin ore.');
RockColor[0]:=0;
RockColor[1]:=0;
RockColor[2]:=0;
RockColor[3]:=0;
else
if (RockType = 'copper') then
writeln('Mining copper ore.');
RockColor[0]:=0;
RockColor[1]:=0;
RockColor[2]:=0;
RockColor[3]:=0;
begin
if(not(LoggedIn)) then
Exit;
else
For i:= 0 to 5 do
if(FindObjCustom(x,y,['ine','in','ne','ocks','ock'],[RockColor[i]],6) then
begin
if IsUpText('ocks') then
begin
MineRocks;
end;
end;
end;
end;
It doesn't compile right now because it says identifier expected. Can anyone tell me why? Also, is the RSS Channel accessible so I can ask quick question like this on there? :duh: