Get item from storage to inventory Auto

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

c0d3
Noob
Noob
Posts: 8
Joined: 30 Mar 2012, 12:51
Noob?: Yes

Get item from storage to inventory Auto

#1 Post by c0d3 »

please check what wrong pls..

i got 2 macros.. first one it work, but i need manually take item from storage when it done..

this one i itry to make kore to auto take item from storage using commands @storage

Code: Select all

automacro talking {
inventory "Meat" > 1
call npc
timeout 1
}

macro npc{
   
pause 1	
do talk @npc (46 80)
do talk resp 0
release talking
   
    
}

automacro c_meat{
inventory "Meat" < 50
storage "Meat" > 0
exclusive 1
call g_meat
timeout 10
}

macro g_meat{

do storage get @storage(Meat) @eval(530 - @cartamount(Meat))
do cart add @inventory (Meat) @invamount(Meat))

}
SkylorD
Moderators
Moderators
Posts: 1202
Joined: 16 Dec 2011, 02:53
Noob?: Yes

Re: Get item from storage to inventory Auto

#2 Post by SkylorD »

do storage get @storage(Meat) @eval(530 - @cartamount(Meat))
do cart add @inventory (Meat) @invamount(Meat))
Take care with this.
DEACTIVATED 8-)