Few Questions

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Digitalxero
a ghoul
a ghoul
Posts: 129
Joined: Tue Sep 10, 2002 5:01 pm

Few Questions

Post by Digitalxero » Thu Apr 22, 2004 5:22 am

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

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Re: Few Questions

Post by wassup » Thu Apr 22, 2004 5:44 am

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
Last edited by wassup on Thu Apr 22, 2004 2:27 pm, edited 1 time in total.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu Apr 22, 2004 11:38 am

or trade1-8
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Apr 23, 2004 3:42 am

what about enviro?

Digitalxero
a ghoul
a ghoul
Posts: 129
Joined: Tue Sep 10, 2002 5:01 pm

Post by Digitalxero » Fri Apr 23, 2004 8:05 am

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?

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Apr 23, 2004 11:35 am

No, read the description of what "Pack" is.

What you're looking for is

/itemnotify ${InvSlot[enviro1]} leftmouseup

enviro1-8
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Fri Apr 23, 2004 11:56 am

Shouldn't it be 1-10 so that it covers the 10 slot tailoring Looms?

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Apr 23, 2004 11:59 am

i guess. updated next zip.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Fri Apr 23, 2004 12:28 pm

Lax in case no one has told you lately; You Rock!