|
Post by bittiez on Sept 22, 2010 13:35:01 GMT -5
I need to make a macro in razor so that it drags my last target to my trash basket, but can't figure out how to do it, any ideas?
(I have a macro for item id right now): Item id skill Target random butcher knife/dagger wait if sysmessage This item is already identified.
this is where I need to drag the last targeted item to my trash basket
end if
|
|
|
Post by daedalus on Sept 22, 2010 15:06:19 GMT -5
Simple answer: you can't.
This because Razor won't support the command Lift -> Last Target, but only Lift by serial or Lift by type. Unless you do lift by type dagger/butcher knife, then you could do:
Lift by type Drop to (trash basket)
with the risk you will put also good items inside.
|
|
|
Post by Damara on Sept 24, 2010 6:14:17 GMT -5
Since you're only doing ItemID, why not use something that doesn't take the Identified tag, like jewelry or clothing? Then there's no need to drop last target in trash. ItemID 10 bracelets as a random target. No problem.
|
|
|
Post by Decameron on Sept 25, 2010 12:46:15 GMT -5
easyuo would be your best bet, you can drag the last item. something like this should work.
top: finditem c_ , #BACKPACKID ;enter the item type for ;the dagger before "c_" if #findcnt > 0 { event property #findid ;checks to see if the item has been identified if Identified in #property goto trash: set #ltargetid #finditem event macro 13 3 ;item id target 3s ;wait for target cursor event macro 22 0 ;last target wait 10 } goto top:
trash: exevent drag #findid #findstack wait 9 exevent dropc ;enter itemid for your trash basket before the ; goto top:
I havn't tried this out, but it should work
|
|