Page 1 of 1

storage "<item>" and @storamount (item) not working

Posted: 27 Nov 2012, 14:34
by kaoru
I want to do a simple macro to log specific items for quick reference. @invamount and the inventory <"item"> condition work just fine, but @storamount and storage <"item"> don't seem to work for me.

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)
}
}
^ Doesn't trigger.

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
I've tried it with more then one item and they won't work.

Re: storage "<item>" and @storamount (item) not working

Posted: 27 Nov 2012, 23:20
by kaoru
Updated macro.pl and everything worked flawlessly. I was probably using an old version. I am slow, sorry.

Close topic, please!