Nephyrin
04-19-2006, 08:04 PM
This week's awesome macro of the week is a little hack to make that useless cancel button on the dressing room frame a little less useless. When you run this macro, it will reconfigure the two buttons on the bottom to put you in full gear or no gear (nude).
Why? I was sick of wanting to try a pair of pants on but first had to take off my robe and hit reset. With this hack, you now have a button to remove all armor from your character for trying on things 'from scratch' and you still have the big red X and the esc button to close the frame, since I hijacked the cancel.
/script DressUpFrameCancelButton:SetText("Undress"); DressUpFrameCancelButton:SetScript("OnClick",function() DressUpModel:Undress(); end); DressUpFrameResetButton:SetText("Dress");
Time to roll a female NE!
Edit: Changed some text to make my rambling more coherent.
Why? I was sick of wanting to try a pair of pants on but first had to take off my robe and hit reset. With this hack, you now have a button to remove all armor from your character for trying on things 'from scratch' and you still have the big red X and the esc button to close the frame, since I hijacked the cancel.
/script DressUpFrameCancelButton:SetText("Undress"); DressUpFrameCancelButton:SetScript("OnClick",function() DressUpModel:Undress(); end); DressUpFrameResetButton:SetText("Dress");
Time to roll a female NE!
Edit: Changed some text to make my rambling more coherent.