DionHacker
2012-10-28 14:25:39
Hi, I am kinda new to scripting, I've done alot of tutorials but I am trying to work out a little thing with InvCount.
How do i make it so the script will go to the bank if there is nothing in the inventory?
I tried to make it so the script delivers some text if there is nothing there, but when I start the script it displays the message even if there is stuff in the inventory.
:o so far I have:
Oh, and yes, I did try googling it ): and searching it, but all the InvCount's there were not what I needed.
Thanks for your help :)
How do i make it so the script will go to the bank if there is nothing in the inventory?
I tried to make it so the script delivers some text if there is nothing there, but when I start the script it displays the message even if there is stuff in the inventory.
:o so far I have:
begin
SetupSRL;
If InvCount = 0 Then;
begin
WriteLn('No More Logs'); // Will change this to banking later
end;
LogsUnBurnto;
Repeat
Wait(6000);
LogsToBurno;
Until(InvCount = 0);
end.
Oh, and yes, I did try googling it ): and searching it, but all the InvCount's there were not what I needed.
Thanks for your help :)