On request I am posting this macro here, in lack of a more suitable board. Should any moderator find that this is the wrong board you are welcome to move it.
So here goes:
BE VERY CAREFUL WITH THIS SCRIPT. If you're affliction specced and use Drain Soul to gain mana back due to the talent Improved Drain Soul you might have the problem of building up many more Soul Shards than needed and losing precious inventory room. This macro will stop everything from casting, destroy the first shard in your bag and then cast Drain Soul Rank 1. WARNING WARNING WARING! BE VERY CAREFUL WITH THIS SCRIPT. It relies on your shard bag being the furthest left bag on your action bar(the F8 bag). If your shard bag is not in the F8 slot it will delete items in whatever bag is there. If your bag is in another slot you can change that in the macro by changing the value of x in PU(x,y).
Quote /stopcasting
/script PU = PickupContainerItem; D= DeleteCursorItem; PU(4,1); D();
/cast Drain Soul(Rank 1)
For testing purposes, it is advisable to replace the following line:
Quote /script PU = PickupContainerItem; D= DeleteCursorItem; PU(4,1); D();
With:
Quote /script PU = PickupContainerItem; PU(4,1);
It will just select the item in that bag, but won't actually destroy it.
I take no responsibility for items accidentally destroyed, but reading this thread carefully and testing it by replacing the lines first should prevent any such incident
Kind regards,
Greyfairer
Edit: If any warlocks need other macros you can message me in-game or reply here, and I will see what I can do.
Edited by Greyfairer on 21-06-2007 23:40
|