wont close loot window

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

wont close loot window

Post by Fuergrissa » Fri Apr 30, 2004 3:45 pm

any reason why this does not close the loot window

/notify LootWnd DoneButton leftmouseup

Many Thanks

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 30, 2004 4:07 pm

should work fine, you sure you didnt load mq after your ui was loaded? ;)
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
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

here is what i have

Post by Fuergrissa » Fri Apr 30, 2004 4:19 pm

yes i allways load mq2 then start EQ.

it reports looting and done looting but will not close window.

Code: Select all

sub Loot
   /declare counter int local
   /declare LootSlot int local
   /if (${Me.Combat}) /return
   /if (!${Target.ID}) /target corpse radius 100
   /face look
   /varset LootSlot 0
   /lootn never
   /loot
   /varset counter 0
   :CoreWaitLoot
      /call Delay 5
      /doevents
      /varcalc counter ${counter}+1
      /if (${counter}>12) /goto :donelooting
   /if (!${Corpse.ID}) /goto :CoreWaitLoot
   /echo  "Looting ${Target.CleanName}."
   :lootloop 
      /if (!${Corpse.Items}) /goto :donelooting
      /doevents
      /itemnotify loot${LootSlot} rightmouseup
      /call Delay 1s
      /varcalc LootSlot ${LootSlot}+1
      /doevents
      /if (${Cursor.ID}) /goto :donelooting
   /goto :lootloop
   :donelooting
   /lootn always
   /notify LootWnd DoneButton leftmouseup
   /echo  "Done Looting ${Target.CleanName}."
/return