Im fkn rare
2013-03-01 21:15:56
Right now I'm using TrollFighter, written by wthomas. He has some anti-leech, but I don't think it's anti-leech. Is there a method for eating in the P07 Includes?
Here is the code he uses for eating:
P07_UseInvItem doesn't exist, so how can I incorporate existing methods to eat food?
I have found:
If P07_ItemExists(1) Then DoSomething();
I need to figure out how to click that inventory space.
Here is the code he uses for eating:
Procedure eatFood;
Var i:integer;
Begin
Repeat
Inc(foodslot);
Writeln('trying to eat foods troll style');
Wait(300);
Until P07_UseInvItem(foodslot,'Eat') Or (foodslot>28);
//NB this procedure ^^ is an easily modified version of P07_UseInvItem()
end;P07_UseInvItem doesn't exist, so how can I incorporate existing methods to eat food?
I have found:
If P07_ItemExists(1) Then DoSomething();
I need to figure out how to click that inventory space.