RSPS powerminer full inventory issue
Hello, i am new to this community. i found this 60 players rsps and no one had 99 mining in it. so i thought i would be the first guy to do so by powermining.
i edited/wrote this script
Simba Code:
Program MineCoals;
{$I RSPS/srlRSPS.Simba}
{$I RSPS/core/prayer.Simba}
var
_myServer:_rsps_server;
Procedure MineRock;
var
i, x, y : integer;
begin
if FindColorSpiralTolerance(x, y, 1383709, 1, 1, 511, 336, 1) or
FindColorSpiralTolerance(x, y, 2241588, 1, 1, 511, 336, 1) or
FindColorSpiralTolerance(x, y, 2109231, 1, 1, 511, 336, 1) then
begin
moveMouse(x, y);
if _myServer.WaitUpText('ine', 200) then
begin
Mouse(x, y);
wait(6000);
end else
Writeln('no rock found');
end;
end;
begin
_myServer.init(317, '317 server');
repeat
if (InvCount < 28) then
begin
MineRock;
end;
end.
I want it when it gets full inventory it banks or stops .. banking was super hard to doat this stage of my experince, so i went to drop inventory. to drop, first i need to know if the inventory is full or not. how to do so?
now it says
Code:
Error: Unknown declaration "InvCount" at line 29
ty