NexPB
2012-02-17 14:50:28
(I tried to explain this as good I can.)
at the moment my script uses "not InvEmpty" to start the procedure DepositArmour; but now it will also start to DepositArmour when there is noted items or a hammer in inv, I need a fuction wich will return true when inv contains something else than noted items or the hammer.
at the moment my script uses "not InvEmpty" to start the procedure DepositArmour; but now it will also start to DepositArmour when there is noted items or a hammer in inv, I need a fuction wich will return true when inv contains something else than noted items or the hammer.
procedure Loop;
begin
AntiRandoms;
if (BarInInv) then
begin
SmithArmour;
end else
if not (InvEmpty) then
begin
DepositArmour;
end else
WithdrawBars;
end;