Page 1 of 1
Few Questions
Posted: Thu Apr 22, 2004 5:22 am
by Digitalxero
I have not been able to figure out how to do the following with MQ2Data
Code: Select all
$pack(@CombInt,slots)
$pack(@CombInt,empty)
$pack(@l3,name)
I am prob just missing something in ${InvSlot.Pack} that will do that above
Re: Few Questions
Posted: Thu Apr 22, 2004 5:44 am
by wassup
Digitalxero wrote:I have not been able to figure out how to do the following with MQ2Data
Code: Select all
$pack(@CombInt,slots)
$pack(@CombInt,empty)
$pack(@l3,name)
I am prob just missing something in ${InvSlot.Pack} that will do that above
${InvSlot[
packname].Item.Container} returns the number of slots packname has, even if the container is full.
${InvSlot[
packname].Item.Item[
packslot]} returns the name of the item in packslot
${InvSlot[
packname].Item.Items} returns the actual number of slots filled in the container. So to test if it is empty...
Code: Select all
/if (!${InvSlot[[color=cyan]packname[/color]].Item.Items}) {
/echo I am empty
}
packname can be pack1-pack8, bank1-bank16 or trade1-trade8
Posted: Thu Apr 22, 2004 11:38 am
by Lax
or trade1-8
Posted: Fri Apr 23, 2004 3:42 am
by dont_know_at_all
what about enviro?
Posted: Fri Apr 23, 2004 8:05 am
by Digitalxero
Was wondering same thing as DNAA and was also wondering how /itemnotify works with enviro containers (ie puting items in them)
would
Code: Select all
/itemnotify ${InvSlot[enviro].Pack.Slot[1]} leftmouseup
work to drop an item I have on cursor into slot 1 of the enviro container I have open?
Posted: Fri Apr 23, 2004 11:35 am
by Lax
No, read the description of what "Pack" is.
What you're looking for is
/itemnotify ${InvSlot[enviro1]} leftmouseup
enviro1-8
Posted: Fri Apr 23, 2004 11:56 am
by LordGiddion
Shouldn't it be 1-10 so that it covers the 10 slot tailoring Looms?
Posted: Fri Apr 23, 2004 11:59 am
by Lax
i guess. updated next zip.
Posted: Fri Apr 23, 2004 12:28 pm
by LordGiddion
Lax in case no one has told you lately; You Rock!