Page 1 of 1

Inventory Check if Full

Posted: 23 Feb 2020, 10:55
by DanialFX
How to check if Inventory is full 100/100 instead of using weight to go back town?

Re: Inventory Check if Full

Posted: 23 Feb 2020, 12:05
by fadreus
Welp, my idea is to check if there is any item with index 100.
If there is, then trigger and run macro.

Too lazy to think..

Re: Inventory Check if Full

Posted: 23 Feb 2020, 19:23
by DanialFX
Yes. Im currently using that kind of idea right now. But I try to maximize my bot profit as best as i could.

Re: Inventory Check if Full

Posted: 24 Feb 2020, 13:00
by c4c1n6kr3m1
eval $::char->inventory->size

Re: Inventory Check if Full

Posted: 25 Feb 2020, 20:27
by DanialFX
c4c1n6kr3m1 wrote:eval $::char->inventory->size
It works now.

Where do i get this code? I need more this kind of code.

Re: Inventory Check if Full

Posted: 25 Feb 2020, 23:46
by fadreus
DanialFX wrote:
c4c1n6kr3m1 wrote:eval $::char->inventory->size
It works now.

Where do i get this code? I need more this kind of code.
You can find more info from here
http://forums.openkore.com/viewtopic.php?f=33&t=16741