Hellaciouss
Member
- Joined
- Jun 21, 2022
- RedCents
- 241¢
Hello all,
I am having a slight issue with opening a named bag
When I do:
It opens up the bag correctly
When I set Reinforced Medicine Bag to a var and then call it like this:
It does not work and I get: Invalid item slot 'reinforced'
What am I doing wrong? I am assuming because it's not wrapping Reinforced Medicine Bag in quotes it's not looking it up correctly? How would I get it to wrap ${AlchemyBag} in quotations (if that is what is going wrong)?
What Im trying to do is check/detect which alchemy bag is available to use, set that as ${AlchemyBag} and then open that bag when needed.
I am having a slight issue with opening a named bag
When I do:
INI:
/itemnotify "Reinforced Medicine Bag" rightmouseup
It opens up the bag correctly
When I set Reinforced Medicine Bag to a var and then call it like this:
INI:
/declare AlchemyBag string outer
/if (${FindItem[=Reinforced Medicine Bag].InvSlot} && ${AlchemyBag.Length}==0 && ${FindItem[=Reinforced Medicine Bag].InvSlot}>=23 && ${FindItem[=Reinforced Medicine Bag].InvSlot}<=33) {
/varset AlchemyBag Reinforced Medicine Bag
/cecho \awFound Alchemy Container \at${AlchemyBag}
}
/itemnotify ${AlchemyBag} rightmouseup
It does not work and I get: Invalid item slot 'reinforced'
What am I doing wrong? I am assuming because it's not wrapping Reinforced Medicine Bag in quotes it's not looking it up correctly? How would I get it to wrap ${AlchemyBag} in quotations (if that is what is going wrong)?
What Im trying to do is check/detect which alchemy bag is available to use, set that as ${AlchemyBag} and then open that bag when needed.