I made this macro awhile ago and since reading this thread I decided to add to it. So I've set it up to hand in items and while it works I'm wondering if there is an easier way?
Here is a copy of the macro.
Here is a copy of the macro.
Code:
Sub Main
:loop
/alt activate 80
/delay 2s
/warp loc -1420, -25, 28
/delay 10
/itemtarget bottle
/delay 1s
/gank
/delay 1s
/autoinventory
/delay 1s
/warp loc -1265, 60, 28
/delay 10
/itemtarget book
/delay 1s
/gank
/delay 1s
/autoinventory
/delay 1s
/warp loc -1200, 190, 37
/delay 10
/itemtarget
/delay 1s
/gank
/delay 1s
/autoinventory
/delay 1s
/tar spirit
/warp t
/notify BuffWindow buff${Math.Calc[${Me.Buff[Camouflage].ID}-1].Int} leftmouseup
/delay 1s
/if (${Spawn[npc Spirit of Erud].ID}) {
/if (${Target.ID}) /squelch /target clear
/delay 2s !${Target.ID}
/squelch /target npc Spirit of Erud
/delay 2s ${Target.Name.Find[Spirit]}
/if (${Target.Name.Find[Spirit]}) {
/echo Spirit of Erud found attempting to give him the loots
/if (${Cursor.ID}) /autoinventory
/delay 2s !${Cursor.ID}
/itemnotify ${FindItem[Sample of Veracious Oil].InvSlot} leftmouseup
/delay 2s ${Cursor.ID}
/ubertrade
/delay 2s ${Window[GiveWnd].Open}
/if (${Window[GiveWnd].Open}) {
/notify GiveWnd GVW_Give_Button leftmouseup
/delay 1s
/if (${Spawn[npc Spirit of Erud].ID}) {
/if (${Target.ID}) /squelch /target clear
/delay 2s !${Target.ID}
/squelch /target npc Spirit of Erud
/delay 2s ${Target.Name.Find[Spirit]}
/if (${Target.Name.Find[Spirit]}) {
/echo Spirit of Erud found attempting to give him the loots
/if (${Cursor.ID}) /autoinventory
/delay 2s !${Cursor.ID}
/itemnotify ${FindItem[Page From the Tome of Acumen].InvSlot} leftmouseup
/delay 2s ${Cursor.ID}
/ubertrade
/delay 2s ${Window[GiveWnd].Open}
/if (${Window[GiveWnd].Open}) {
/notify GiveWnd GVW_Give_Button leftmouseup
/delay 1s
/if (${Spawn[npc Spirit of Erud].ID}) {
/if (${Target.ID}) /squelch /target clear
/delay 2s !${Target.ID}
/squelch /target npc Spirit of Erud
/delay 2s ${Target.Name.Find[Spirit]}
/if (${Target.Name.Find[Spirit]}) {
/echo Spirit of Erud found attempting to give him the loots
/if (${Cursor.ID}) /autoinventory
/delay 2s !${Cursor.ID}
/itemnotify ${FindItem[Charred Piece of Wood].InvSlot} leftmouseup
/delay 2s ${Cursor.ID}
/ubertrade
/delay 2s ${Window[GiveWnd].Open}
/if (${Window[GiveWnd].Open}) {
/notify GiveWnd GVW_Give_Button leftmouseup
}
}
}
/delay 1s
/hail
/delay 1s
/autoinv
/warp loc -939, 257, 47
/endmac
/return