In both situations the bot has already opened the kafra storage. I've got 18 Bananas in inventory and 100 on kafra.
Code: Select all
automacro testBanana01 {
storage "Banana" > 0
inventory "Banana" > 0
run-once 1
call {
log Banana in storage: @storamount (Banana)
log Banana in inventory: @invamount (Banana)
}
}
Code: Select all
macro testBanana02 {
log Banana in storage: @storamount (Banana)
log Banana in inventory: @invamount (Banana)
}
Code: Select all
[macro log] Banana in storage: -1
[macro log] Banana in inventory: 18