Log in

View Full Version : Dropping problems



Visman
01-09-2012, 02:52 AM
If InvCount= PlusOne Then
WriteLn('You got some iron!');
Repeat
MineOre;
Until (InvFull);
If (InvFull) then
DropAll;
Repeat
Dropall;
Until (InvEmpty);
Repeat
MineOre;
DropAll
Until (Logout);


I've written this code (im really new to all of this) but i cant for the life of me figure out how to make it drop all the items when it has a full inventory then start mining again and repeat. I thought this code would work but i know i need to write a lot more, Any help would be appreciated.

imaloser
01-09-2012, 03:26 AM
Lol.. Is that your main loop or... ahaha,, is that your whole script?

Jhangir
01-09-2012, 02:35 PM
Lol.. Is that your main loop or... ahaha,, is that your whole script?

Was thinking the same thing too.

You need to post the whole script and if that is your whole script I think you need to watch the tutorial videos.