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

This place is for Closed bug reports only. NOT for asking help!

Moderators: Moderators, Developers

Message
Author
kaoru
Human
Human
Posts: 34
Joined: 20 Jun 2008, 17:47
Noob?: No

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

#1 Post 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.

kaoru
Human
Human
Posts: 34
Joined: 20 Jun 2008, 17:47
Noob?: No

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

#2 Post by kaoru »

Updated macro.pl and everything worked flawlessly. I was probably using an old version. I am slow, sorry.

Close topic, please!

Post Reply