Sorting Wands

firko

Neophyte
Hello,

I have been trying to modify the ITEMID + sort.
To make it sort PVP wands from a selected mixed container, and if it's a gheal, mana drain, or lightning, they all should go to their own selected containers, rest should be in a 'rest' container to be trashed or w/e.

Here's what I did so far: https://pastebin.com/CSVmDiXX

I'm lost at the while loop on line 75. Since it's not possible to use and itemid, or a skill to get the keywords i'm looking for into the journal, i have to use clickobject, but couldn't manage to get it working.

Does anyone have a macro for this, so I can check the code and see how it's done? Otherwise, if you know how to fix the code in the pastebin, that's also much appreciated.

Thanks!
firko
 
Top