Page 1 of 1

My macro won't delete a certain item

Posted: Mon Oct 08, 2012 3:50 pm
by 1everdude
Hi everyone, this is my first post here. I found a simple macro somebody posted on a forum of the EQEmu server I play on, and modified it a bit to pick up and then delete junk items I loot from Velketor, and then target and loot the nearest corpse. I don't know much at all about writing macros, but I'm trying to teach myself. This macro isn't super efficient, and I'm sure there are better ways of doing it, but it works. Anyways, I added one item to the list that the macro will pick up, but not delete. I'd appreciate it if someone could take a look at the code and tell me what I'm doing wrong?
The item that's not being deleted is the "Barbed Ringmail Gloves"
It's working fine with everything else.
Anyways, thanks in advance. :D

Code: Select all

Sub Main
    /if (${FindItemCount[=Barbed Ringmail Gloves]}) /shiftkey /itemnotify ${FindItem[=Barbed Ringmail Gloves].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Barbed Ringmail Gloves/]}) /destroy
    /if (${FindItemCount[=Large Brick of Velium]}) /shiftkey /itemnotify ${FindItem[=Large Brick of Velium].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Large Brick of Velium/]}) /destroy
    /if (${FindItemCount[=Zeannor's Thesis Pg. 16]}) /shiftkey /itemnotify ${FindItem[=Zeannor's Thesis Pg. 16].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Zeannor's Thesis Pg. 16]}) /destroy
    /if (${FindItemCount[=Small Piece of Velium]}) /shiftkey /itemnotify ${FindItem[=Small Piece of Velium].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Small Piece of Velium]}) /destroy
    /if (${FindItemCount[=Loaf of Bread]}) /shiftkey /itemnotify ${FindItem[=Loaf of Bread].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Loaf of Bread]}) /destroy
    /if (${FindItemCount[=Spider Fur Collar]}) /shiftkey /itemnotify ${FindItem[=Spider Fur Collar].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Spider Fur Collar]}) /destroy
    /if (${FindItemCount[=Block of Velium]}) /shiftkey /itemnotify ${FindItem[=Block of Velium].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Block of Velium]}) /destroy
    /if (${FindItemCount[=Stone of Descent]}) /shiftkey /itemnotify ${FindItem[=Stone of Descent].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Stone of Descent]}) /destroy
    /tar corpse
    /lootall
/return

Re: My macro won't delete a certain item

Posted: Mon Oct 08, 2012 7:44 pm
by xomega1

Code: Select all

 
   /if (${FindItemCount[=Barbed Ringmail Gloves]}) /shiftkey /itemnotify ${FindItem[=Barbed Ringmail Gloves].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Barbed Ringmail Gloves/]}) /destroy
 
Try removing the "/" from Barbed Ringmail Gloves.
should look like this:

Code: Select all

 
   /if (${FindItemCount[=Barbed Ringmail Gloves]}) /shiftkey /itemnotify ${FindItem[=Barbed Ringmail Gloves].InvSlot} leftmouseup
    /if (${Cursor.Name.Equal[Barbed Ringmail Gloves]}) /destroy
 

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:24 am
by xyilla

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:25 am
by xyilla

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:27 am
by xyilla

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:29 am
by xyilla

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:30 am
by xyilla

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:31 am
by xyilla

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:32 am
by xyilla

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:33 am
by xyilla

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:34 am
by xyilla

Re: My macro won't delete a certain item

Posted: Fri Jan 16, 2026 3:37 am
by xyilla