JackBurton
08-18-2009, 06:55 PM
What i use now
/cast [nocombat,harm] Soul Fire; [combat,harm,nochanneling:Shadow Bolt] Shadow Bolt
I use this to destroy soulstones if i get too many. I know it works. Is there a way to use this code in a macro to prevent using the last soulstone
/run i="Soul Shard"d=GetItemCount(i)-20 for x=0,4 do for y=1,GetContainerNumSlots(x) do if (d>0) then l=GetContainerItemLink(x,y) if l and GetItemInfo(l)==i then PickupContainerItem(x,y) DeleteCursorItem() d=d-1 end end end end
/cast [nocombat,harm] Soul Fire; [combat,harm,nochanneling:Shadow Bolt] Shadow Bolt
I use this to destroy soulstones if i get too many. I know it works. Is there a way to use this code in a macro to prevent using the last soulstone
/run i="Soul Shard"d=GetItemCount(i)-20 for x=0,4 do for y=1,GetContainerNumSlots(x) do if (d>0) then l=GetContainerItemLink(x,y) if l and GetItemInfo(l)==i then PickupContainerItem(x,y) DeleteCursorItem() d=d-1 end end end end