anyone can help me with a macro for random cast on favorite toys ??? i used to have a macro but it doesnt work since last expansion .
/run local f,t=RnT or CreateFrame(“Button”,“RnT”,nil,“SecureActionButtonTemplate”) f:SetAttribute(“type”,“item”) t=GetItemInfo(C_ToyBox.GetToyFromIndex(random(115))) f:SetAttribute(“item”,t) print(“Casting toy:”,t)
/click RnT
it doesnt work anyomre …