This macro will cycle through all items in your bags and equip everything one by one with no confirmations.
Originally Posted by Gracin
/run for b=0,NUM_BAG_SLOTS do
for s=1,GetContainerNumSlots(b) do
if l then
if format('%9$s',GetItemInfo(l)) ~= '' then
end end end end
After it's done, you'll be left with a hodgepodge of equipment worn, so make sure you have saved sets to return to if you don't want to manually redress yourself. Your bags will also be pretty messy if you have a lot of equipment to cycle through.
If you want a rarity filter with the macro, like only autoconfirming blues and greens and leaving purples alone, paste the following into any active addon or make one with it. If you want to use this filter, remove EquipPendingItem(0) from the macro. This code autoconfirms even when manually clicking/dragging equipment so make sure to disable or delete it if you only want to use it with the macro.
if (GetCursorInfo()) == 'item' then
if tonumber(format('%3$s',GetItemInfo(format('%3$s',GetCursorInfo())))) < 4 then